diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-07-22 08:42:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 08:42:27 -0400 |
commit | 558809d4bbd735eca2a31bb07249ac42850f37de (patch) | |
tree | 41ffa2cf2c65ac490e5a4e6a6af1616b32e49cf5 /test/e2e/libpod_suite_test.go | |
parent | ef03815117fdf1b8b43d4e2b18caa00ddb3a82b6 (diff) | |
parent | 65e1638f9bba1bd16dfcef5bb897cf1c1bc4889f (diff) | |
download | podman-558809d4bbd735eca2a31bb07249ac42850f37de.tar.gz podman-558809d4bbd735eca2a31bb07249ac42850f37de.tar.bz2 podman-558809d4bbd735eca2a31bb07249ac42850f37de.zip |
Merge pull request #7044 from rhatdan/remotetest
Enable a bunch of remote tests
Diffstat (limited to 'test/e2e/libpod_suite_test.go')
-rw-r--r-- | test/e2e/libpod_suite_test.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/e2e/libpod_suite_test.go b/test/e2e/libpod_suite_test.go index 29ad01363..49e4e53cd 100644 --- a/test/e2e/libpod_suite_test.go +++ b/test/e2e/libpod_suite_test.go @@ -9,32 +9,12 @@ import ( "path/filepath" "strings" - "github.com/containers/libpod/v2/pkg/cgroups" . "github.com/onsi/ginkgo" - . "github.com/onsi/gomega" ) func SkipIfRemote() { } -func SkipIfCgroupV1() { - cgroupsv2, err := cgroups.IsCgroup2UnifiedMode() - Expect(err).To(BeNil()) - - if !cgroupsv2 { - Skip("Skip on systems with cgroup V1 systems") - } -} - -func SkipIfCgroupV2() { - cgroupsv2, err := cgroups.IsCgroup2UnifiedMode() - Expect(err).To(BeNil()) - - if cgroupsv2 { - Skip("Skip on systems with cgroup V2 systems") - } -} - func SkipIfRootless() { if os.Geteuid() != 0 { Skip("This function is not enabled for rootless podman") |