mirror of
https://github.com/containers/podman.git
synced 2025-12-05 12:52:12 +08:00
Merge pull request #2482 from edsantiago/podman_image_rm
Fix usage messages for podman image list, rm
This commit is contained in:
@@ -275,4 +275,13 @@ RUN find $LOCAL
|
||||
Expect(images.ExitCode()).To(Equal(0))
|
||||
Expect(len(images.OutputToStringArray())).To(Equal(0))
|
||||
})
|
||||
|
||||
// Don't rerun all tests; just assume that if we get that diagnostic,
|
||||
// we're getting rmi
|
||||
It("podman image rm is the same as rmi", func() {
|
||||
session := podmanTest.Podman([]string{"image", "rm"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.ExitCode()).To(Equal(125))
|
||||
Expect(session.LineInOutputContains("image name or ID must be specified"))
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user