summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorJake Correnti <jcorrenti13@gmail.com>2022-07-13 21:41:16 -0400
committerMatthew Heon <matthew.heon@pm.me>2022-07-26 13:27:55 -0400
commit53edd9b654d558ff769286ef948ab0f6a23c68cc (patch)
treee78e6b5633281f5f4a0293ce0c39cddf149f2219 /test/e2e
parentf07d2bac4bf09bedeace1e7ed939176e502b41ca (diff)
downloadpodman-53edd9b654d558ff769286ef948ab0f6a23c68cc.tar.gz
podman-53edd9b654d558ff769286ef948ab0f6a23c68cc.tar.bz2
podman-53edd9b654d558ff769286ef948ab0f6a23c68cc.zip
Podman pull --all-tags shorthand option
I added the shorthand option for `podman pull --all-tags`. Like Docker, Podman can now do `podman pull -a`. Signed-off-by: Jake Correnti <jcorrenti13@gmail.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/pull_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/e2e/pull_test.go b/test/e2e/pull_test.go
index 04b7a280d..12f14fdc8 100644
--- a/test/e2e/pull_test.go
+++ b/test/e2e/pull_test.go
@@ -108,6 +108,15 @@ var _ = Describe("Podman pull", func() {
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
Expect(len(session.OutputToStringArray())).To(BeNumerically(">=", 2), "Expected at least two images")
+
+ session = podmanTest.Podman([]string{"pull", "-a", "quay.io/libpod/testdigest_v2s2"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+
+ session = podmanTest.Podman([]string{"images"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+ Expect(len(session.OutputToStringArray())).To(BeNumerically(">=", 2), "Expected at least two images")
})
It("podman pull from docker with nonexistent --authfile", func() {