Re: [PATCH 1/2] selftests/cgroup: Avoid awk -e in cpuset tests
Tejun Heo <[email protected]>
| Newsgroups | org.kernel.vger.cgroups,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Aug 09, 2026 at 04:21:10PM +0800, Rui Qi wrote: > The cpuset selftests use awk -e to parse cgroup mount points. This > works with gawk, but mawk rejects the option. In test_cpuset_prs.sh, > this leaves CGROUP2 empty and causes the test to skip as if cgroup v2 > were not mounted. The same non-portable invocation exists in the cpuset > v1 hotplug test. > > The scripts only need to pass a single awk program. Use the standard awk > invocation without -e so mount point detection works with awk > implementations that do not support the gawk extension. Applied to cgroup/for-7.3. Thanks. -- tejun