Re: [PATCH] selftests/cgroup: set the test plan after the setup checks

From: Tejun Heo

Date: Wed Aug 19 2026 - 16:13:17 EST


On Wed, Aug 19, 2026 at 02:06:00PM +0530, Hemanth Selam wrote:
> The cgroup tests announce their plan before checking whether cgroup v2 is
> available, so on a host without it they promise a number of results and
> then skip out after the first one:
>
> TAP version 13
> 1..3
> ok 1 # SKIP cgroup v2 isn't mounted
> # Planned tests != run tests (3 != 1)
> # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:1 error:0

Applied to cgroup/for-7.3-fixes.

Thanks.

--
tejun