aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2020-10-21 12:22:19 -0400
committerQi Wang <qiwan@redhat.com>2020-10-30 11:13:57 -0400
commit57650aa5f32479944c735994286cc74e6c36452b (patch)
treecb4cc57058653411fbf01f7e76e6062947a4709e /test
parent228396a99dc88fc828f23d4072a46ca8de90282f (diff)
downloadpodman-57650aa5f32479944c735994286cc74e6c36452b.tar.gz
podman-57650aa5f32479944c735994286cc74e6c36452b.tar.bz2
podman-57650aa5f32479944c735994286cc74e6c36452b.zip
manifest list inspect single image
If the image name not a manifest list type, enable manifest inspect to return manifest of single image manifest type vnd.docker.distribution.manifest.v2+json. Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/e2e/manifest_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go
index f984345f4..29a62e5bb 100644
--- a/test/e2e/manifest_test.go
+++ b/test/e2e/manifest_test.go
@@ -58,6 +58,11 @@ var _ = Describe("Podman manifest", func() {
session = podmanTest.PodmanNoCache([]string{"manifest", "inspect", "quay.io/libpod/busybox"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
+
+ // inspect manifest of single image
+ session = podmanTest.PodmanNoCache([]string{"manifest", "inspect", "quay.io/libpod/busybox@sha256:6655df04a3df853b029a5fac8836035ac4fab117800c9a6c4b69341bb5306c3d"})
+ session.WaitWithDefaultTimeout()
+ Expect(session).Should(Exit(0))
})
It("podman manifest add", func() {