diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-05-08 17:33:20 +0200 |
---|---|---|
committer | openshift-cherrypick-robot <> | 2022-05-09 18:04:39 +0000 |
commit | 8e3a991ff624cf6111e4a84b619956d391e491b2 (patch) | |
tree | e650d9c4aed3b8e2a4a0f85e1e02c7592b0f7ea0 | |
parent | f40474521b577153e960ea1dd9601b67307aeede (diff) | |
download | podman-8e3a991ff624cf6111e4a84b619956d391e491b2.tar.gz podman-8e3a991ff624cf6111e4a84b619956d391e491b2.tar.bz2 podman-8e3a991ff624cf6111e4a84b619956d391e491b2.zip |
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 <gscrivan@redhat.com>
-rw-r--r-- | test/e2e/search_test.go | 4 |
1 files 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) |