]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests-066: avoid enabling controller on leaf cgroup node
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 12 Apr 2023 14:28:37 +0000 (14:28 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 12 Apr 2023 17:07:41 +0000 (11:07 -0600)
commit0382f6518e52d294a390e245e9da1e64dec3c55f
tree505e906b09974547e279a5088ca9e078af0522dd
parent52f6d46c5feee7d21d58a6d7762853a6e51cc1a6
ftests-066: avoid enabling controller on leaf cgroup node

cgroup v2, has no internal process constraint, where the process runs
only on the leaf node of the cgroup hierarchy and no controllers should
be enabled on the leaf cgroup node too. Let's not enable cpu controller
on the leaf cgroup node. Also, fix the expected stderr, accordingly
while migrating the tasks using cgclassify.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 3ef8bf2a047e05a881a2cef6d38fbed3ea6502f2)
tests/ftests/066-sudo-systemd_cgclassify-v2.py