mirror of
https://github.com/containers/buildah.git
synced 2026-02-05 09:45:38 +01:00
tests: Remove skips for Cgroups v1
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
This commit is contained in:
@@ -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 #
|
||||
##########################
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user