mirror of
https://github.com/containers/podman.git
synced 2025-06-20 17:13:43 +08:00
Fix podman rm to have correct exit codes
If you attempt to remove a running container is it supposed to exit with 2 If you attempt to remove a non existing container is is supposed to exit with 1 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -17,7 +17,6 @@ var _ = Describe("Podman rm", func() {
|
||||
)
|
||||
|
||||
BeforeEach(func() {
|
||||
Skip(v2fail)
|
||||
tempdir, err = CreateTempDirInTempDir()
|
||||
if err != nil {
|
||||
os.Exit(1)
|
||||
|
Reference in New Issue
Block a user