diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-12-06 08:34:50 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-12-06 09:33:39 +0100 |
commit | 76f5100be51544fe8e83d718f57c86102caee1c1 (patch) | |
tree | 315bd3cdeaafc77c44315e54ac24b2785c36d5f6 /test/e2e | |
parent | e79c47bc0c0d68faebc2e38a97dbb5d0654342d3 (diff) | |
download | podman-76f5100be51544fe8e83d718f57c86102caee1c1.tar.gz podman-76f5100be51544fe8e83d718f57c86102caee1c1.tar.bz2 podman-76f5100be51544fe8e83d718f57c86102caee1c1.zip |
vendor c/common@main
Update the `--filter reference=...` tests to reflect recent changes in
c/common. The reference values now match as specified without
implicitly adding wildcards arounds.
Fixes: #11905
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/images_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/images_test.go b/test/e2e/images_test.go index efa9f399b..a3cc1ce99 100644 --- a/test/e2e/images_test.go +++ b/test/e2e/images_test.go @@ -141,12 +141,12 @@ var _ = Describe("Podman images", func() { }) It("podman images filter reference", func() { - result := podmanTest.Podman([]string{"images", "-q", "-f", "reference=quay.io*"}) + result := podmanTest.Podman([]string{"images", "-q", "-f", "reference=quay.io/libpod/*"}) result.WaitWithDefaultTimeout() Expect(result).Should(Exit(0)) Expect(result.OutputToStringArray()).To(HaveLen(7)) - retalpine := podmanTest.Podman([]string{"images", "-f", "reference=a*pine"}) + retalpine := podmanTest.Podman([]string{"images", "-f", "reference=*lpine*"}) retalpine.WaitWithDefaultTimeout() Expect(retalpine).Should(Exit(0)) Expect(retalpine.OutputToStringArray()).To(HaveLen(6)) @@ -155,7 +155,7 @@ var _ = Describe("Podman images", func() { retalpine = podmanTest.Podman([]string{"images", "-f", "reference=alpine"}) retalpine.WaitWithDefaultTimeout() Expect(retalpine).Should(Exit(0)) - Expect(retalpine.OutputToStringArray()).To(HaveLen(6)) + Expect(retalpine.OutputToStringArray()).To(HaveLen(2)) Expect(retalpine.OutputToString()).To(ContainSubstring("alpine")) retnone := podmanTest.Podman([]string{"images", "-q", "-f", "reference=bogus"}) |