diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-30 09:18:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 09:18:41 +0000 |
commit | e9edddaaf2ab9d769d36adf00f97034db0a3cadf (patch) | |
tree | 8d614f0a6a303c9f78605ca91fd04cf90b605d16 /test/e2e/libpod_suite_test.go | |
parent | b68b6f334d4a83de35d68cc359365b348e72ad6b (diff) | |
parent | b496802413aecf95b0d2786cb6e13618b388a406 (diff) | |
download | podman-e9edddaaf2ab9d769d36adf00f97034db0a3cadf.tar.gz podman-e9edddaaf2ab9d769d36adf00f97034db0a3cadf.tar.bz2 podman-e9edddaaf2ab9d769d36adf00f97034db0a3cadf.zip |
Merge pull request #7799 from rhatdan/rootless
Make all Skips specify a reason
Diffstat (limited to 'test/e2e/libpod_suite_test.go')
-rw-r--r-- | test/e2e/libpod_suite_test.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/e2e/libpod_suite_test.go b/test/e2e/libpod_suite_test.go index 00d066fea..a9da922de 100644 --- a/test/e2e/libpod_suite_test.go +++ b/test/e2e/libpod_suite_test.go @@ -8,8 +8,6 @@ import ( "os" "path/filepath" "strings" - - . "github.com/onsi/ginkgo" ) func IsRemote() bool { @@ -19,18 +17,6 @@ func IsRemote() bool { func SkipIfRemote(string) { } -func SkipIfRootlessCgroupsV1() { - if os.Geteuid() != 0 && !CGROUPSV2 { - Skip("Rooless requires cgroupsV2 to set limits") - } -} - -func SkipIfRootless() { - if os.Geteuid() != 0 { - Skip("This function is not enabled for rootless podman") - } -} - // Podman is the exec call to podman on the filesystem func (p *PodmanTestIntegration) Podman(args []string) *PodmanSessionIntegration { podmanSession := p.PodmanBase(args, false, false) |