From 05272718f4ec414d7996e5b3b66819b040726310 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 3 Nov 2021 18:45:18 -0700 Subject: [PATCH] tests/int/cgroups: fix for misc controller The misc cgroup controller, introduced in Linux 5.13, is still unknown to systemd, and thus it cannot delegate it. Add an appropriate fixup to the test case, similar to an earlier commit 601cf5825f6cf7cd4c360. Signed-off-by: Kir Kolyshkin --- tests/integration/cgroups.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/cgroups.bats b/tests/integration/cgroups.bats index 57e81b15cec..882e5929673 100644 --- a/tests/integration/cgroups.bats +++ b/tests/integration/cgroups.bats @@ -49,8 +49,8 @@ function setup() { if [ "$(id -u)" = "0" ]; then check_cgroup_value "cgroup.controllers" "$(cat /sys/fs/cgroup/machine.slice/cgroup.controllers)" else - # Filter out hugetlb as systemd is unable to delegate it. - check_cgroup_value "cgroup.controllers" "$(sed 's/ hugetlb//'