aboutsummaryrefslogtreecommitdiff
path: root/test/e2e/run_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_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_test.go')
-rw-r--r--test/e2e/run_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index f66d1d2fa..1420a8403 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -353,6 +353,8 @@ var _ = Describe("Podman run", func() {
It("podman run notify_socket", func() {
SkipIfRemote()
+ SkipIfNotRunc()
+
host := GetHostDistributionInfo()
if host.Distribution != "rhel" && host.Distribution != "centos" && host.Distribution != "fedora" {
Skip("this test requires a working runc")
@@ -563,6 +565,7 @@ var _ = Describe("Podman run", func() {
})
It("podman run exit code on failure to exec", func() {
+ SkipIfNotRunc()
session := podmanTest.Podman([]string{"run", ALPINE, "/etc"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(126))