From 6716a3da069bcefe32eafeedf065ef476423c356 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mon, 27 Oct 2025 15:33:20 -0400 Subject: [PATCH] tests: Remove skips for Cgroups v1 Signed-off-by: Lokesh Mandvekar --- tests/helpers.bash | 9 --------- tests/run.bats | 1 - tests/tutorial.bats | 1 - 3 files changed, 11 deletions(-) diff --git a/tests/helpers.bash b/tests/helpers.bash index 5acd0a3c3..6f672ed10 100644 --- a/tests/helpers.bash +++ b/tests/helpers.bash @@ -700,15 +700,6 @@ function skip_if_cgroupsv2() { fi } -####################### -# skip_if_cgroupsv1 # Some tests don't work with cgroupsv1 -####################### -function skip_if_cgroupsv1() { - if ! is_cgroupsv2; then - skip "${1:-test does not work with cgroups v1}" - fi -} - ########################## # skip_if_in_container # ########################## diff --git a/tests/run.bats b/tests/run.bats index 7cf50723d..f562b0eb4 100644 --- a/tests/run.bats +++ b/tests/run.bats @@ -947,7 +947,6 @@ _EOF @test "rootless on cgroupv2 and systemd runs under user.slice" { skip_if_no_runtime - skip_if_cgroupsv1 skip_if_in_container skip_if_root_environment if test "$DBUS_SESSION_BUS_ADDRESS" = ""; then diff --git a/tests/tutorial.bats b/tests/tutorial.bats index 352ca4e19..48f31ef8a 100644 --- a/tests/tutorial.bats +++ b/tests/tutorial.bats @@ -5,7 +5,6 @@ load helpers @test "tutorial-cgroups" { # confidence check for the sake of packages that consume our library skip_if_no_runtime - skip_if_cgroupsv1 skip_if_rootless_environment skip_if_chroot