summaryrefslogtreecommitdiff
path: root/test/e2e/run_exit_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-12 19:14:20 +0200
committerGitHub <noreply@github.com>2019-08-12 19:14:20 +0200
commitca7bae7f89bd1843ce47fca41403b99b8583168e (patch)
tree496d55497fbb3151ad54b8c1a3bbfa4408a9775d /test/e2e/run_exit_test.go
parent341f0bf66485c75db95f9e6355af1fb2f93f6005 (diff)
parent9f67cde9f855081cf113afefb72b8f38c1b4d338 (diff)
downloadpodman-ca7bae7f89bd1843ce47fca41403b99b8583168e.tar.gz
podman-ca7bae7f89bd1843ce47fca41403b99b8583168e.tar.bz2
podman-ca7bae7f89bd1843ce47fca41403b99b8583168e.zip
Merge pull request #3789 from giuseppe/cirrus-add-crun
cirrus: run tests with crun
Diffstat (limited to 'test/e2e/run_exit_test.go')
-rw-r--r--test/e2e/run_exit_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/run_exit_test.go b/test/e2e/run_exit_test.go
index 861d6b3b7..b05849ddb 100644
--- a/test/e2e/run_exit_test.go
+++ b/test/e2e/run_exit_test.go
@@ -41,12 +41,16 @@ var _ = Describe("Podman run exit", func() {
})
It("podman run exit 126", func() {
+ SkipIfNotRunc()
+
result := podmanTest.Podman([]string{"run", ALPINE, "/etc"})
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(126))
})
It("podman run exit 127", func() {
+ SkipIfNotRunc()
+
result := podmanTest.Podman([]string{"run", ALPINE, "foobar"})
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(127))