mirror of
https://github.com/containers/podman.git
synced 2025-10-27 03:06:22 +08:00
test: use new helper
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -8,9 +8,7 @@ load helpers
|
|||||||
@test "podman run, preserves initial --cgroup-manager" {
|
@test "podman run, preserves initial --cgroup-manager" {
|
||||||
skip_if_remote "podman-remote does not support --cgroup-manager"
|
skip_if_remote "podman-remote does not support --cgroup-manager"
|
||||||
|
|
||||||
if is_rootless && is_cgroupsv1; then
|
skip_if_rootless_cgroupsv1
|
||||||
skip "not supported as rootless under cgroups v1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Find out our default cgroup manager, and from that, get the non-default
|
# Find out our default cgroup manager, and from that, get the non-default
|
||||||
run_podman info --format '{{.Host.CgroupManager}}'
|
run_podman info --format '{{.Host.CgroupManager}}'
|
||||||
|
|||||||
Reference in New Issue
Block a user