summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2026-10-19 14:10:20 -0400
committerTejun Heo <tj@kernel.org>2026-10-19 13:08:20 -1000
commit4c665c94b86cb38cf0bb85517cdaebc1cdc31e7b (patch)
treea66e95583bd490483f7d6882abf43096978cd0af /scripts
parent989ca25c10ca8a0904ae0f7a27f4eeac0d573dcb (diff)
downloadlinux-next-4c665c94b86cb38cf0bb85517cdaebc1cdc31e7b.tar.gz
linux-next-4c665c94b86cb38cf0bb85517cdaebc1cdc31e7b.zip
selftests/cgroup: Skip test_cpuset_prs.sh test if some required CPUs are offline
The test_cpuset_prs.sh test assumes that all the relevant CPUs being tested are online. If some of them are offline, some of the test cases may fail. So skip the test if the required CPUs are either offline or not present. While at it, the cleanup() and online_cpus() functions as well as the trap statement to run cleanup() on exit are moved earlier to make sure the cleanup function will be run if the test is somehow aborted early. Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions