summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-01 13:32:02 -0400
committerGitHub <noreply@github.com>2020-10-01 13:32:02 -0400
commit5d22eb02f95f28a87ed263afe28b7ff4bf2f6fee (patch)
tree818213afcae3939d007ca76c744ea2c12f2786e1 /test/e2e
parent11dfe9385c0115a9269c269f76ef9b0ae0dc26ac (diff)
parent7ac8000cc1925c3c46a3afcd4ff23b1d09bddfe3 (diff)
downloadpodman-5d22eb02f95f28a87ed263afe28b7ff4bf2f6fee.tar.gz
podman-5d22eb02f95f28a87ed263afe28b7ff4bf2f6fee.tar.bz2
podman-5d22eb02f95f28a87ed263afe28b7ff4bf2f6fee.zip
Merge pull request #7735 from QiWang19/manifest-inspect
fix allowing inspect manifest of non-local image
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/manifest_test.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go
index 33aac48d5..b85132814 100644
--- a/test/e2e/manifest_test.go
+++ b/test/e2e/manifest_test.go
@@ -8,6 +8,7 @@ import (
. "github.com/containers/podman/v2/test/utils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
+ . "github.com/onsi/gomega/gexec"
)
var _ = Describe("Podman manifest", func() {
@@ -49,6 +50,16 @@ var _ = Describe("Podman manifest", func() {
Expect(session.ExitCode()).To(Equal(0))
})
+ It("podman manifest inspect", func() {
+ session := podmanTest.Podman([]string{"manifest", "inspect", BB})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(0))
+
+ session = podmanTest.PodmanNoCache([]string{"manifest", "inspect", "docker.io/library/busybox"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
+ })
+
It("podman manifest add", func() {
session := podmanTest.Podman([]string{"manifest", "create", "foo"})
session.WaitWithDefaultTimeout()