summaryrefslogtreecommitdiff
path: root/test/e2e/pull_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-10 18:51:08 +0100
committerGitHub <noreply@github.com>2022-01-10 18:51:08 +0100
commita957e8c5e237ec1af2eca991bff4d5de31155389 (patch)
tree29895e0dfd8614930882a579991948218f9c9d3c /test/e2e/pull_test.go
parent7a839f7a745ed5171e2a469f6ebec34b5084c3d8 (diff)
parentb7380a7c367246fa50b2380a99dbff39c4dc78d0 (diff)
downloadpodman-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.go8
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() {