selftest/cgroup: Update test_cpuset_prs.sh to use | as effective CPUs and state separator
authorWaiman Long <longman@redhat.com>
Sun, 30 Mar 2025 21:52:46 +0000 (17:52 -0400)
committerTejun Heo <tj@kernel.org>
Mon, 31 Mar 2025 23:27:49 +0000 (13:27 -1000)
commit65046b5e0ad71990b5a0256710cf050d2d2ab3dd
treef0852afc3229804c9bff6d56a47b383fabe2c20d
parent52e039f9e2557f46b083d5d8ca94793ddea44a07
selftest/cgroup: Update test_cpuset_prs.sh to use | as effective CPUs and state separator

Currently, ',' is used as the cgroup separator of the expected effective
CPUs and partition root states in the test matrix. However, ',' can be
part of the output of the cpuset.cpus*.effective and cpuset.cpus.isolated
files. Change the separator to '|' so that ',' can appear as part of
the expected values.

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