From 92c7f4eb9e50d0b35aa048c5149cb95ce5c4e507 Mon Sep 17 00:00:00 2001 From: TomSweeneyRedHat Date: Wed, 12 Dec 2018 14:29:40 -0500 Subject: Show image only once with images -q Signed-off-by: TomSweeneyRedHat --- test/e2e/images_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/e2e') diff --git a/test/e2e/images_test.go b/test/e2e/images_test.go index a927088ca..af32c032b 100644 --- a/test/e2e/images_test.go +++ b/test/e2e/images_test.go @@ -63,6 +63,10 @@ var _ = Describe("Podman images", func() { session.LineInOutputContainsTag("foo", "c") session.LineInOutputContainsTag("bar", "a") session.LineInOutputContainsTag("bar", "b") + session = podmanTest.Podman([]string{"images", "-qn"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) + Expect(len(session.OutputToStringArray())).To(BeNumerically("==", 2)) }) It("podman images with digests", func() { -- cgit v1.2.3-54-g00ecf