]> 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:05 +0000 (11:07 -0600)
commit3ef8bf2a047e05a881a2cef6d38fbed3ea6502f2
tree5bc5af2a181d41019818acead003cca6a1813afd
parentddadfd67a161da5052e6e2eba97d3052fd976cca
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>
tests/ftests/066-sudo-systemd_cgclassify-v2.py