aboutsummaryrefslogtreecommitdiff
path: root/test/e2e/run_test.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-08-12 16:09:34 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-08-12 16:09:34 +0200
commit9f67cde9f855081cf113afefb72b8f38c1b4d338 (patch)
tree4e69e4b966772d09c9b136550fc68b83ed5fed1c /test/e2e/run_test.go
parentefa26eedee2876c521cef61f048d8c8e13022cf2 (diff)
downloadpodman-9f67cde9f855081cf113afefb72b8f38c1b4d338.tar.gz
podman-9f67cde9f855081cf113afefb72b8f38c1b4d338.tar.bz2
podman-9f67cde9f855081cf113afefb72b8f38c1b4d338.zip
tests: disable some tests currently failing when not using runc
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
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))