diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-30 18:38:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 18:38:07 +0000 |
commit | 1d7cb7f477a4d9ea10d3ec08edac3327d7802c6c (patch) | |
tree | 0a34707d4667abead32385f13402b8c1a640775d /test/e2e | |
parent | f86e01ab10821d99cebb82d10c3bd5dad77af8c6 (diff) | |
parent | d24ec648873698bac14047e0af128099186e38d3 (diff) | |
download | podman-1d7cb7f477a4d9ea10d3ec08edac3327d7802c6c.tar.gz podman-1d7cb7f477a4d9ea10d3ec08edac3327d7802c6c.tar.bz2 podman-1d7cb7f477a4d9ea10d3ec08edac3327d7802c6c.zip |
Merge pull request #7798 from QiWang19/run-manifest
Use local image if input image is a manifest list
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/create_test.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/e2e/create_test.go b/test/e2e/create_test.go index e6491ce9b..96a234446 100644 --- a/test/e2e/create_test.go +++ b/test/e2e/create_test.go @@ -609,4 +609,21 @@ var _ = Describe("Podman create", func() { Expect(session.ExitCode()).ToNot(BeZero()) }) + It("create use local store image if input image contains a manifest list", func() { + session := podmanTest.Podman([]string{"pull", BB}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(BeZero()) + + session = podmanTest.Podman([]string{"manifest", "create", "mylist"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) + + session = podmanTest.Podman([]string{"manifest", "add", "--all", "mylist", BB}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(BeZero()) + + session = podmanTest.Podman([]string{"create", "mylist"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(BeZero()) + }) }) |