mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +08:00
Handle filters correctly for podman prune
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -131,6 +131,7 @@ var _ = Describe("Podman images", func() {
|
||||
})
|
||||
|
||||
It("podman images filter by image name", func() {
|
||||
Skip(v2remotefail)
|
||||
podmanTest.RestoreAllArtifacts()
|
||||
session := podmanTest.PodmanNoCache([]string{"images", "-q", ALPINE})
|
||||
session.WaitWithDefaultTimeout()
|
||||
@ -233,6 +234,9 @@ RUN apk update && apk add man
|
||||
})
|
||||
|
||||
It("podman check for image with sha256: prefix", func() {
|
||||
if podmanTest.RemoteTest {
|
||||
Skip("Does not work on remote client")
|
||||
}
|
||||
session := podmanTest.Podman([]string{"inspect", "--format=json", ALPINE})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(Exit(0))
|
||||
@ -245,6 +249,9 @@ RUN apk update && apk add man
|
||||
})
|
||||
|
||||
It("podman check for image with sha256: prefix", func() {
|
||||
if podmanTest.RemoteTest {
|
||||
Skip("Does not work on remote client")
|
||||
}
|
||||
session := podmanTest.Podman([]string{"image", "inspect", "--format=json", ALPINE})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(Exit(0))
|
||||
|
Reference in New Issue
Block a user