summaryrefslogtreecommitdiff
path: root/test/e2e/common_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-15 16:38:36 -0400
committerGitHub <noreply@github.com>2020-07-15 16:38:36 -0400
commit6dcff5c32b4ed68378c6df7c6b0fd04a902dc405 (patch)
tree1b20819b46e2fee91f76ad6a017b91d6bea529b6 /test/e2e/common_test.go
parent9051546c4df40b611ca09b02ae57ae6e8fb72c94 (diff)
parentc58127602e57ad489bd951760026dccd7593eeaf (diff)
downloadpodman-6dcff5c32b4ed68378c6df7c6b0fd04a902dc405.tar.gz
podman-6dcff5c32b4ed68378c6df7c6b0fd04a902dc405.tar.bz2
podman-6dcff5c32b4ed68378c6df7c6b0fd04a902dc405.zip
Merge pull request #6975 from baude/rootlessIPMAC
Error on rootless mac and ip addresses
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r--test/e2e/common_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go
index 51f290159..aa0e9635a 100644
--- a/test/e2e/common_test.go
+++ b/test/e2e/common_test.go
@@ -595,3 +595,7 @@ func SkipIfNotFedora() {
ginkgo.Skip("Test can only run on Fedora")
}
}
+
+func isRootless() bool {
+ return os.Geteuid() != 0
+}