cgroup_fj_common.sh: Disable cgroup controller in cleanup function
PATCH 1/1 cgroup_fj_common.sh: Disable cgroup controller in cleanup function
If you run "cgroup_fj_function.sh cpuset;cpuset_base_ops_testset.sh" you will encounter following error and cpuset_base_ops will be skipped:cpuset_base_ops 1 TCONF: Could not mount cgroup filesystem with cpuset on /dev/cpuset
Signed-off-by Wei Gao <[email protected]>
--- testcases/kernel/controllers/cgroup_fj/cgroup_fj_common.sh | 2 ++ 1 file changed, 2 insertions(+)
testcases/kernel/controllers/cgroup_fj/cgroup_fj_common.sh +2 -0
@@ -76,6 +76,8 @@ common_cleanup() [ -d "$start_path" ] && find "$start_path" -depth -type d -exec rmdir '{}' \; cgroup_cleanup + + [ "$cgroup_version" = "2" ] && ROD echo "-$subsystem" \> "/sys/fs/cgroup/cgroup.subtree_control" } . cgroup_lib.sh
Signature · 5 lines
2.35.3 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Good catch, patch merged.
Signature · 5 lines
Regards, Li Wang -- Mailing list info: https://lists.linux.it/listinfo/ltp