diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-05-08 17:33:20 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-05-08 17:33:26 +0200 |
commit | bb8f53a727aeebb49873b2f4c9c12d6f1d0ce1d3 (patch) | |
tree | 3ec893fceff9db82ed9deed29208cd2c145f69e1 | |
parent | a64dd312a293eb782072ffff976a1de644a00d04 (diff) | |
download | podman-bb8f53a727aeebb49873b2f4c9c12d6f1d0ce1d3.tar.gz podman-bb8f53a727aeebb49873b2f4c9c12d6f1d0ce1d3.tar.bz2 podman-bb8f53a727aeebb49873b2f4c9c12d6f1d0ce1d3.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) |