diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-17 08:48:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-17 08:48:11 -0800 |
commit | 510b5a81dcea7df4c95388db0b66df17a691cb1c (patch) | |
tree | 139136aa182ffaf7f3a1e6e3d3799aad7ba3563f /test | |
parent | a1902dc48b11573ac35fa69ebdfe09def4857efd (diff) | |
parent | 92c7f4eb9e50d0b35aa048c5149cb95ce5c4e507 (diff) | |
download | podman-510b5a81dcea7df4c95388db0b66df17a691cb1c.tar.gz podman-510b5a81dcea7df4c95388db0b66df17a691cb1c.tar.bz2 podman-510b5a81dcea7df4c95388db0b66df17a691cb1c.zip |
Merge pull request #2000 from TomSweeneyRedHat/dev/tsweeney/fiximageq
Show image only once with images -q
Diffstat (limited to 'test')
-rw-r--r-- | test/README.md | 2 | ||||
-rw-r--r-- | test/e2e/images_test.go | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/test/README.md b/test/README.md index 2a9a4d4b1..fd72ecd00 100644 --- a/test/README.md +++ b/test/README.md @@ -79,7 +79,7 @@ switch is optional. You can run a single file of integration tests using the go test command: ``` -GOPATH=~/go go test -v test/e2e/libpod_suite_test.go test/e2e/your_test.go +GOPATH=~/go go test -v test/e2e/libpod_suite_test.go test/e2e/config.go test/e2e/config_amd64.go test/e2e/your_test.go ``` #### Run all tests like PAPR 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() { |