summaryrefslogtreecommitdiff
path: root/test/e2e/rmi_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2019-02-24 07:36:27 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2019-02-25 12:49:27 -0500
commitfe4c0c37807f250c8f222bbe7634df13a6da8756 (patch)
tree21546b987d872879a372e458798804f2548c3b2c /test/e2e/rmi_test.go
parent73cfb9f127b0991c3faac9ff1fafed8d65355e4b (diff)
downloadpodman-fe4c0c37807f250c8f222bbe7634df13a6da8756.tar.gz
podman-fe4c0c37807f250c8f222bbe7634df13a6da8756.tar.bz2
podman-fe4c0c37807f250c8f222bbe7634df13a6da8756.zip
Change exit code to 1 on podman rmi nosuch image
Make it easy for scripts to determine if an image removal failure. If only errors were no such image exit with 1 versus 125. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/rmi_test.go')
-rw-r--r--test/e2e/rmi_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/rmi_test.go b/test/e2e/rmi_test.go
index c160e1bc5..dcbda2df4 100644
--- a/test/e2e/rmi_test.go
+++ b/test/e2e/rmi_test.go
@@ -36,7 +36,7 @@ var _ = Describe("Podman rmi", func() {
It("podman rmi bogus image", func() {
session := podmanTest.Podman([]string{"rmi", "debian:6.0.10"})
session.WaitWithDefaultTimeout()
- Expect(session.ExitCode()).To(Equal(125))
+ Expect(session.ExitCode()).To(Equal(1))
})