aboutsummaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-23 19:09:45 +0100
committerGitHub <noreply@github.com>2020-11-23 19:09:45 +0100
commit10c2c839c03e8eed799ccadd99fa8a962754255b (patch)
treeed3c268d7ab175e5d6964c02b17ec0a9a78fa840 /test/e2e
parentdd343418ce5a3fd6c6238d7e2edc132826756051 (diff)
parentc901a766fb66564df24538f761f895212168c923 (diff)
downloadpodman-10c2c839c03e8eed799ccadd99fa8a962754255b.tar.gz
podman-10c2c839c03e8eed799ccadd99fa8a962754255b.tar.bz2
podman-10c2c839c03e8eed799ccadd99fa8a962754255b.zip
Merge pull request #8446 from Luap99/podman-container-ps
Add podman container ps command
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/ps_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/e2e/ps_test.go b/test/e2e/ps_test.go
index fd08d4308..05571157c 100644
--- a/test/e2e/ps_test.go
+++ b/test/e2e/ps_test.go
@@ -44,6 +44,12 @@ var _ = Describe("Podman ps", func() {
Expect(session.ExitCode()).To(Equal(0))
})
+ It("podman container ps no containers", func() {
+ session := podmanTest.Podman([]string{"container", "ps"})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(0))
+ })
+
It("podman ps default", func() {
session := podmanTest.RunTopContainer("")
session.WaitWithDefaultTimeout()