summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-30 08:56:45 +0000
committerGitHub <noreply@github.com>2021-10-30 08:56:45 +0000
commit7cd317e9c35aa9f4776ee491bdd943c6e2ce55d3 (patch)
treeefd57b944b2a64ba330d2f070518e7c0fa12ea2e /test
parent09efcd48a86fac761fe73fda9e77af668515ddcc (diff)
parente69eae6458737e73e9a9b61297f1f911f0fb6599 (diff)
downloadpodman-7cd317e9c35aa9f4776ee491bdd943c6e2ce55d3.tar.gz
podman-7cd317e9c35aa9f4776ee491bdd943c6e2ce55d3.tar.bz2
podman-7cd317e9c35aa9f4776ee491bdd943c6e2ce55d3.zip
Merge pull request #12141 from kprav33n/help-doc
Fix help message case for `podman version`
Diffstat (limited to 'test')
-rw-r--r--test/e2e/version_test.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/e2e/version_test.go b/test/e2e/version_test.go
index 75986e671..9398248b8 100644
--- a/test/e2e/version_test.go
+++ b/test/e2e/version_test.go
@@ -31,7 +31,6 @@ var _ = Describe("Podman version", func() {
f := CurrentGinkgoTestDescription()
processTestResult(f)
podmanTest.SeedImages()
-
})
It("podman version", func() {
@@ -96,4 +95,13 @@ var _ = Describe("Podman version", func() {
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
})
+
+ It("podman help", func() {
+ session := podmanTest.Podman([]string{"help"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+ Expect(session.Out.Contents()).Should(
+ ContainSubstring("Display the Podman version information"),
+ )
+ })
})