summaryrefslogtreecommitdiff
path: root/test/e2e/images_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-08 09:23:36 -0800
committerGitHub <noreply@github.com>2019-03-08 09:23:36 -0800
commit5ae7359184a20859d775bc59f1b1c53348b04ecd (patch)
treee653e18fabdc8013fe73c35d130dd8d91584cdf7 /test/e2e/images_test.go
parent5fdb8bfcb346f41029b0876bd11477282811642c (diff)
parent15971689e8111427307046fec135a37a30ab5aa1 (diff)
downloadpodman-5ae7359184a20859d775bc59f1b1c53348b04ecd.tar.gz
podman-5ae7359184a20859d775bc59f1b1c53348b04ecd.tar.bz2
podman-5ae7359184a20859d775bc59f1b1c53348b04ecd.zip
Merge pull request #2557 from QiWang19/filter2241
fix bug in podman images list all images with same name
Diffstat (limited to 'test/e2e/images_test.go')
-rw-r--r--test/e2e/images_test.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/e2e/images_test.go b/test/e2e/images_test.go
index 4cf58e5bf..4018bf355 100644
--- a/test/e2e/images_test.go
+++ b/test/e2e/images_test.go
@@ -112,6 +112,18 @@ var _ = Describe("Podman images", func() {
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
Expect(len(session.OutputToStringArray())).To(Equal(1))
+
+ session = podmanTest.Podman([]string{"tag", ALPINE, "foo:a"})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(0))
+ session = podmanTest.Podman([]string{"tag", BB, "foo:b"})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(0))
+
+ session = podmanTest.Podman([]string{"images", "-q", "foo"})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(0))
+ Expect(len(session.OutputToStringArray())).To(Equal(2))
})
It("podman images filter reference", func() {