selftest/cgroup: Clean up and restructure test_cpuset_prs.sh
authorWaiman Long <longman@redhat.com>
Sun, 30 Mar 2025 21:52:47 +0000 (17:52 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 31 Mar 2025 23:28:05 +0000 (13:28 -1000)
commitb2b2b4d058b776be0168b4ea46ed84cfb0f884e9
treee2c7b0613dd56a914c2ce71323c5f026216f103b
parent65046b5e0ad71990b5a0256710cf050d2d2ab3dd
selftest/cgroup: Clean up and restructure test_cpuset_prs.sh

Cleaning up the test_cpuset_prs.sh script and restructure some of the
functions so that a new test matrix with a different cgroup directory
structure can be added in the next patch.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/cgroup/test_cpuset_prs.sh