mirror of
https://github.com/containers/podman.git
synced 2025-12-14 19:10:16 +08:00
Merge pull request #7735 from QiWang19/manifest-inspect
fix allowing inspect manifest of non-local image
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user