summaryrefslogtreecommitdiff
path: root/test/e2e/prune_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-11 09:59:44 -0700
committerGitHub <noreply@github.com>2019-04-11 09:59:44 -0700
commitab259987ee4920e549a863ab3b7055877d6f61d7 (patch)
tree6a75a64ba3a111973c2ba817ec279ff93c40206f /test/e2e/prune_test.go
parent4b9a4a12f17ecebb3647165430af9571de45d5bf (diff)
parentba4a1bb9bd4a644ffa7b07d2a15ec9302d5d45ed (diff)
downloadpodman-ab259987ee4920e549a863ab3b7055877d6f61d7.tar.gz
podman-ab259987ee4920e549a863ab3b7055877d6f61d7.tar.bz2
podman-ab259987ee4920e549a863ab3b7055877d6f61d7.zip
Merge pull request #2879 from mheon/header_on_no_images
Print header for 'podman images' even with no images present
Diffstat (limited to 'test/e2e/prune_test.go')
-rw-r--r--test/e2e/prune_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/prune_test.go b/test/e2e/prune_test.go
index 869ca3289..682f7ff2b 100644
--- a/test/e2e/prune_test.go
+++ b/test/e2e/prune_test.go
@@ -82,7 +82,7 @@ var _ = Describe("Podman rm", func() {
prune.WaitWithDefaultTimeout()
Expect(prune.ExitCode()).To(Equal(0))
- images := podmanTest.Podman([]string{"images", "-a"})
+ images := podmanTest.Podman([]string{"images", "-aq"})
images.WaitWithDefaultTimeout()
// all images are unused, so they all should be deleted!
Expect(len(images.OutputToStringArray())).To(Equal(0))
@@ -95,7 +95,7 @@ var _ = Describe("Podman rm", func() {
prune.WaitWithDefaultTimeout()
Expect(prune.ExitCode()).To(Equal(0))
- images := podmanTest.Podman([]string{"images", "-a"})
+ images := podmanTest.Podman([]string{"images", "-aq"})
images.WaitWithDefaultTimeout()
// all images are unused, so they all should be deleted!
Expect(len(images.OutputToStringArray())).To(Equal(0))