diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-20 05:57:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-20 05:57:25 -0400 |
commit | f403aa3baa23a64e7d6bf3fcbc815644d95b768d (patch) | |
tree | ae757f33f5fe2efc4351e5983a8e864cec68250a /test/e2e/search_test.go | |
parent | 60425c96d06c9666e8ba310579a08173aee81839 (diff) | |
parent | b05888a97dbb45a205ff535538ecdd91a19c6ae3 (diff) | |
download | podman-f403aa3baa23a64e7d6bf3fcbc815644d95b768d.tar.gz podman-f403aa3baa23a64e7d6bf3fcbc815644d95b768d.tar.bz2 podman-f403aa3baa23a64e7d6bf3fcbc815644d95b768d.zip |
Merge pull request #6621 from vrothberg/bz-1846629
search: allow wildcards
Diffstat (limited to 'test/e2e/search_test.go')
-rw-r--r-- | test/e2e/search_test.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go index 9ba0241fe..4e37f7d7a 100644 --- a/test/e2e/search_test.go +++ b/test/e2e/search_test.go @@ -400,4 +400,16 @@ registries = ['{{.Host}}:{{.Port}}']` search.WaitWithDefaultTimeout() Expect(search.ExitCode()).To(Not(Equal(0))) }) + + It("podman search with wildcards", func() { + search := podmanTest.Podman([]string{"search", "--limit", "30", "registry.redhat.io/*"}) + search.WaitWithDefaultTimeout() + Expect(search.ExitCode()).To(Equal(0)) + Expect(len(search.OutputToStringArray())).To(Equal(31)) + + search = podmanTest.Podman([]string{"search", "registry.redhat.io/*openshift*"}) + search.WaitWithDefaultTimeout() + Expect(search.ExitCode()).To(Equal(0)) + Expect(len(search.OutputToStringArray()) > 1).To(BeTrue()) + }) }) |