summaryrefslogtreecommitdiff
path: root/test/e2e/common_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-10-27 06:57:49 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-10-27 07:25:23 -0400
commit2099c86f3321c44906c0db476f6d0fee10beb265 (patch)
tree790d9383fa3df6e67aeba99168077356c3494b1f /test/e2e/common_test.go
parent3a62b4d6b70aaf68a443359319eb3fce7b101b87 (diff)
downloadpodman-2099c86f3321c44906c0db476f6d0fee10beb265.tar.gz
podman-2099c86f3321c44906c0db476f6d0fee10beb265.tar.bz2
podman-2099c86f3321c44906c0db476f6d0fee10beb265.zip
build(deps): bump github.com/containers/common from 0.26.0 to 0.26.3
Bumps [github.com/containers/common](https://github.com/containers/common) from 0.26.0 to 0.26.3. - [Release notes](https://github.com/containers/common/releases) - [Commits](containers/common@v0.26.0...v0.26.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r--test/e2e/common_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go
index 206c66f9f..bc8465a7c 100644
--- a/test/e2e/common_test.go
+++ b/test/e2e/common_test.go
@@ -621,6 +621,13 @@ func SkipIfRootless(reason string) {
}
}
+func SkipIfNotRootless(reason string) {
+ checkReason(reason)
+ if os.Geteuid() == 0 {
+ ginkgo.Skip("[notRootless]: " + reason)
+ }
+}
+
func SkipIfNotFedora() {
info := GetHostDistributionInfo()
if info.Distribution != "fedora" {