diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-10 18:51:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 18:51:08 +0100 |
commit | a957e8c5e237ec1af2eca991bff4d5de31155389 (patch) | |
tree | 29895e0dfd8614930882a579991948218f9c9d3c /test/e2e/pull_test.go | |
parent | 7a839f7a745ed5171e2a469f6ebec34b5084c3d8 (diff) | |
parent | b7380a7c367246fa50b2380a99dbff39c4dc78d0 (diff) | |
download | podman-a957e8c5e237ec1af2eca991bff4d5de31155389.tar.gz podman-a957e8c5e237ec1af2eca991bff4d5de31155389.tar.bz2 podman-a957e8c5e237ec1af2eca991bff4d5de31155389.zip |
Merge pull request #12786 from vrothberg/vendor-common
vendor c/common
Diffstat (limited to 'test/e2e/pull_test.go')
-rw-r--r-- | test/e2e/pull_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/e2e/pull_test.go b/test/e2e/pull_test.go index f22acca6e..38afff9bd 100644 --- a/test/e2e/pull_test.go +++ b/test/e2e/pull_test.go @@ -354,13 +354,13 @@ var _ = Describe("Podman pull", func() { session = podmanTest.Podman([]string{"rmi", "cirros"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) - session = podmanTest.Podman([]string{"pull", imgPath}) + session = podmanTest.Podman([]string{"run", imgPath, "ls"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) - session = podmanTest.Podman([]string{"images"}) + // Note that reference is not preserved in dir. + session = podmanTest.Podman([]string{"image", "exists", "cirros"}) session.WaitWithDefaultTimeout() - Expect(session).Should(Exit(0)) - Expect(session.LineInOutputContainsTag(filepath.Join("localhost", dirpath), "latest")).To(BeTrue()) + Expect(session).Should(Exit(1)) }) It("podman pull from local OCI directory", func() { |