Skip to content

Commit 90056cc

Browse files
committed
tests/int/cgroups.bats: exclude dmem controller
The dmem controller is added into kernel v6.13 and is now enabled in Fedora 42 kernels. This fixes the test case failure on Fedora, which got a new kernel and a new cgroups controller (dmem) not (yet) supported by systemd. For the initial test case, see commit 2751571. For earlier commits similar to this one, see commits 601cf58, 0527271, e83ca51. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 61fe4ac commit 90056cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/cgroups.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function setup() {
5050
check_cgroup_value "cgroup.controllers" "$(cat /sys/fs/cgroup/machine.slice/cgroup.controllers)"
5151
else
5252
# Filter out controllers that systemd is unable to delegate.
53-
check_cgroup_value "cgroup.controllers" "$(sed 's/ \(hugetlb\|misc\|rdma\)//g' </sys/fs/cgroup/user.slice/user-${EUID}.slice/cgroup.controllers)"
53+
check_cgroup_value "cgroup.controllers" "$(sed 's/ \(dmem\|hugetlb\|misc\|rdma\)//g' </sys/fs/cgroup/user.slice/user-${EUID}.slice/cgroup.controllers)"
5454
fi
5555
else
5656
check_cgroup_value "cgroup.controllers" "$(cat /sys/fs/cgroup/cgroup.controllers)"

0 commit comments

Comments
 (0)