summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorJohn Matthews <jwmatthews@gmail.com>2022-03-29 17:37:27 -0400
committerJohn Matthews <jwmatthews@gmail.com>2022-03-29 18:10:59 -0400
commit1ffcc4a8883b099e379a60c367e8a662c0e2c782 (patch)
tree72c671652093a8d74c4df39336b7df466f6d3ce6 /test/e2e
parentc319edaaf8013d8397c5847a761f53e68536635a (diff)
downloadpodman-1ffcc4a8883b099e379a60c367e8a662c0e2c782.tar.gz
podman-1ffcc4a8883b099e379a60c367e8a662c0e2c782.tar.bz2
podman-1ffcc4a8883b099e379a60c367e8a662c0e2c782.zip
Add 'Os' to be queried via 'version' output
Signed-off-by: John Matthews <jwmatthews@gmail.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/version_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/e2e/version_test.go b/test/e2e/version_test.go
index 6f93beff6..a30db80eb 100644
--- a/test/e2e/version_test.go
+++ b/test/e2e/version_test.go
@@ -87,10 +87,18 @@ var _ = Describe("Podman version", func() {
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
+ session = podmanTest.Podman([]string{"version", "--format", "{{ .Client.Os }}"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+
session = podmanTest.Podman([]string{"version", "--format", "{{ .Server.Version }}"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
+ session = podmanTest.Podman([]string{"version", "--format", "{{ .Server.Os }}"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+
session = podmanTest.Podman([]string{"version", "--format", "{{ .Version }}"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))