diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-10-30 08:56:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-30 08:56:45 +0000 |
commit | 7cd317e9c35aa9f4776ee491bdd943c6e2ce55d3 (patch) | |
tree | efd57b944b2a64ba330d2f070518e7c0fa12ea2e /test | |
parent | 09efcd48a86fac761fe73fda9e77af668515ddcc (diff) | |
parent | e69eae6458737e73e9a9b61297f1f911f0fb6599 (diff) | |
download | podman-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.go | 10 |
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"), + ) + }) }) |