diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-08-12 16:09:34 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-08-12 16:09:34 +0200 |
commit | 9f67cde9f855081cf113afefb72b8f38c1b4d338 (patch) | |
tree | 4e69e4b966772d09c9b136550fc68b83ed5fed1c /test/e2e/libpod_suite_remoteclient_test.go | |
parent | efa26eedee2876c521cef61f048d8c8e13022cf2 (diff) | |
download | podman-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/libpod_suite_remoteclient_test.go')
-rw-r--r-- | test/e2e/libpod_suite_remoteclient_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/e2e/libpod_suite_remoteclient_test.go b/test/e2e/libpod_suite_remoteclient_test.go index 7f33fec87..a6cedfc58 100644 --- a/test/e2e/libpod_suite_remoteclient_test.go +++ b/test/e2e/libpod_suite_remoteclient_test.go @@ -28,6 +28,13 @@ func SkipIfRootless() { } } +func SkipIfNotRunc() { + runtime := os.Getenv("OCI_RUNTIME") + if runtime != "" && filepath.Base(runtime) != "runc" { + ginkgo.Skip("Not using runc as runtime") + } +} + // Podman is the exec call to podman on the filesystem func (p *PodmanTestIntegration) Podman(args []string) *PodmanSessionIntegration { podmanSession := p.PodmanBase(args, false, false) |