From 0f13e3f73ba6417f5c7f0a5e74ffceb42ee8013f Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Mon, 14 Jul 2025 15:06:24 -0700 Subject: [PATCH] tests/int/cgroups.bats: exclude dmem controller The dmem controller is added into kernel v6.13 and is now enabled in Fedora 42 kernels. Yet, systemd is not aware of dmem. This fixes the test case failure on Fedora. For the initial test case, see commit 27515719. For earlier commits similar to this one, see commits 601cf582, 05272718, e83ca519. Signed-off-by: Kir Kolyshkin (cherry picked from commit b3432118edfd9b600a68ed1a01c0ae98fb195871) Signed-off-by: Kir Kolyshkin --- tests/integration/cgroups.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/cgroups.bats b/tests/integration/cgroups.bats index 70e3ee9f5..a2b207109 100644 --- a/tests/integration/cgroups.bats +++ b/tests/integration/cgroups.bats @@ -50,7 +50,7 @@ function setup() { check_cgroup_value "cgroup.controllers" "$(cat /sys/fs/cgroup/machine.slice/cgroup.controllers)" else # Filter out controllers that systemd is unable to delegate. - check_cgroup_value "cgroup.controllers" "$(sed 's/ \(hugetlb\|misc\|rdma\)//g'