diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-29 18:00:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 18:00:33 +0100 |
commit | 6d72e7611e07c09ae2f4f9be799acd56179d66f9 (patch) | |
tree | 0a637ed92d3ee437582ea9be5ea203b1e7c00803 /test/e2e/ps_test.go | |
parent | 74850052067c7a9c76c961fa06205388e9684be3 (diff) | |
parent | 20e104351dd4f85e56d49cca70dd9aaee8b72ffc (diff) | |
download | podman-6d72e7611e07c09ae2f4f9be799acd56179d66f9.tar.gz podman-6d72e7611e07c09ae2f4f9be799acd56179d66f9.tar.bz2 podman-6d72e7611e07c09ae2f4f9be799acd56179d66f9.zip |
Merge pull request #8165 from edsantiago/move_from_dockerio
Move from docker.io
Diffstat (limited to 'test/e2e/ps_test.go')
-rw-r--r-- | test/e2e/ps_test.go | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/e2e/ps_test.go b/test/e2e/ps_test.go index 11d0b8c9b..f3a66e58a 100644 --- a/test/e2e/ps_test.go +++ b/test/e2e/ps_test.go @@ -232,12 +232,19 @@ var _ = Describe("Podman ps", func() { }) It("podman ps ancestor filter flag", func() { - _, ec, _ := podmanTest.RunLsContainer("test1") + _, ec, cid := podmanTest.RunLsContainer("test1") Expect(ec).To(Equal(0)) - result := podmanTest.Podman([]string{"ps", "-a", "--filter", "ancestor=docker.io/library/alpine:latest"}) + result := podmanTest.Podman([]string{"ps", "-q", "--no-trunc", "-a", "--filter", "ancestor=quay.io/libpod/alpine:latest"}) + result.WaitWithDefaultTimeout() + Expect(result.ExitCode()).To(Equal(0)) + Expect(result.OutputToString()).To(Equal(cid)) + + // Query just by image name, without :latest tag + result = podmanTest.Podman([]string{"ps", "-q", "--no-trunc", "-a", "--filter", "ancestor=quay.io/libpod/alpine"}) result.WaitWithDefaultTimeout() Expect(result.ExitCode()).To(Equal(0)) + Expect(result.OutputToString()).To(Equal(cid)) }) It("podman ps id filter flag", func() { |