summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2021-09-30 13:59:46 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2021-09-30 13:59:46 +0200
commit5c1b3e8d7256edf248c0a753ded611d5e6fab8c0 (patch)
tree46d2aafd9c2357371e8da7b700d4d51d57003426
parent788106dad12dd83763bb6ab1f1e4e57c75f73a14 (diff)
downloadpodman-5c1b3e8d7256edf248c0a753ded611d5e6fab8c0.tar.gz
podman-5c1b3e8d7256edf248c0a753ded611d5e6fab8c0.tar.bz2
podman-5c1b3e8d7256edf248c0a753ded611d5e6fab8c0.zip
test: use new helper
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--test/system/420-cgroups.bats4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/system/420-cgroups.bats b/test/system/420-cgroups.bats
index 89c81a742..025a20012 100644
--- a/test/system/420-cgroups.bats
+++ b/test/system/420-cgroups.bats
@@ -8,9 +8,7 @@ load helpers
@test "podman run, preserves initial --cgroup-manager" {
skip_if_remote "podman-remote does not support --cgroup-manager"
- if is_rootless && is_cgroupsv1; then
- skip "not supported as rootless under cgroups v1"
- fi
+ skip_if_rootless_cgroupsv1
# Find out our default cgroup manager, and from that, get the non-default
run_podman info --format '{{.Host.CgroupManager}}'