From bb8f53a727aeebb49873b2f4c9c12d6f1d0ce1d3 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sun, 8 May 2022 17:33:20 +0200 Subject: test: fix "podman search format json" the alpine image used previously returns a description that contains '...': $ podman search --format json alpine | fgrep ...\"\, "Description": "alpine 3.7 with bash, perl, gzip, wget...", Signed-off-by: Giuseppe Scrivano --- test/e2e/search_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go index 8237f6433..64677ba54 100644 --- a/test/e2e/search_test.go +++ b/test/e2e/search_test.go @@ -113,11 +113,11 @@ registries = ['{{.Host}}:{{.Port}}']` }) It("podman search format json", func() { - search := podmanTest.Podman([]string{"search", "--format", "json", "alpine"}) + search := podmanTest.Podman([]string{"search", "--format", "json", "busybox"}) search.WaitWithDefaultTimeout() Expect(search).Should(Exit(0)) Expect(search.OutputToString()).To(BeValidJSON()) - Expect(search.OutputToString()).To(ContainSubstring("docker.io/library/alpine")) + Expect(search.OutputToString()).To(ContainSubstring("docker.io/library/busybox")) // Test for https://github.com/containers/podman/issues/11894 contents := make([]entities.ImageSearchReport, 0) -- cgit v1.2.3-54-g00ecf