summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-09 10:15:22 -0400
committerGitHub <noreply@github.com>2020-09-09 10:15:22 -0400
commit21cfcc4b3b19273a26cd4bb78072061109b1ed42 (patch)
tree00ddc7a31f51e28898c6cf8f150691696fa581fc /test
parent1b2b068ce89a52d46cfd3191ed6bbf403e7582e9 (diff)
parent3a7faf7cf838586adab805ea3c2b65ac5ee9a079 (diff)
downloadpodman-21cfcc4b3b19273a26cd4bb78072061109b1ed42.tar.gz
podman-21cfcc4b3b19273a26cd4bb78072061109b1ed42.tar.bz2
podman-21cfcc4b3b19273a26cd4bb78072061109b1ed42.zip
Merge pull request #7568 from rhatdan/latest
Fix podman ps -l
Diffstat (limited to 'test')
-rw-r--r--test/e2e/ps_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/e2e/ps_test.go b/test/e2e/ps_test.go
index a734d399d..a2338c924 100644
--- a/test/e2e/ps_test.go
+++ b/test/e2e/ps_test.go
@@ -104,11 +104,13 @@ var _ = Describe("Podman ps", func() {
SkipIfRemote()
_, ec, _ := podmanTest.RunLsContainer("")
Expect(ec).To(Equal(0))
+ _, ec, _ = podmanTest.RunLsContainer("")
+ Expect(ec).To(Equal(0))
- result := podmanTest.Podman([]string{"ps", "--latest"})
+ result := podmanTest.Podman([]string{"ps", "-q", "--latest"})
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(0))
- Expect(len(result.OutputToStringArray())).Should(BeNumerically(">", 0))
+ Expect(len(result.OutputToStringArray())).Should(Equal(1))
})
It("podman ps last flag", func() {