summaryrefslogtreecommitdiff
path: root/test/e2e/libpod_suite_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-07-21 16:04:19 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-07-21 19:23:24 -0400
commit65e1638f9bba1bd16dfcef5bb897cf1c1bc4889f (patch)
tree6254e28b9c598a8fb81d4eb9b9823b09a1d4580c /test/e2e/libpod_suite_test.go
parente5b3563a897395030c5714ac014bbad79f24ede9 (diff)
downloadpodman-65e1638f9bba1bd16dfcef5bb897cf1c1bc4889f.tar.gz
podman-65e1638f9bba1bd16dfcef5bb897cf1c1bc4889f.tar.bz2
podman-65e1638f9bba1bd16dfcef5bb897cf1c1bc4889f.zip
Enable a bunch of remote tests
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/libpod_suite_test.go')
-rw-r--r--test/e2e/libpod_suite_test.go20
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")