summaryrefslogtreecommitdiff
path: root/test/e2e/run_exit_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/run_exit_test.go')
-rw-r--r--test/e2e/run_exit_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/run_exit_test.go b/test/e2e/run_exit_test.go
index 3b9e08b5e..b381d0613 100644
--- a/test/e2e/run_exit_test.go
+++ b/test/e2e/run_exit_test.go
@@ -35,13 +35,13 @@ var _ = Describe("Podman run exit", func() {
})
It("podman run exit 126", func() {
- result := podmanTest.Podman([]string{"run", ALPINE, "foobar"})
+ result := podmanTest.Podman([]string{"run", ALPINE, "/etc"})
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(126))
})
It("podman run exit 127", func() {
- result := podmanTest.Podman([]string{"run", ALPINE, "/etc"})
+ result := podmanTest.Podman([]string{"run", ALPINE, "foobar"})
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(127))
})