Re: [PATCH v2] selftests/clone3: fix number of tests in ksft_set_plan

From: Christian Brauner
Date: Tue Mar 14 2023 - 09:14:37 EST


On Tue, Mar 14, 2023 at 01:34:14PM +0100, Tobias Klauser wrote:
> Commit 515bddf0ec41 ("selftests/clone3: test clone3 with CLONE_NEWTIME")
> added an additional test, so the number passed to ksft_set_plan needs to
> be bumped accordingly.
>
> Also use ksft_finished() to print results and exit. This will catch future
> mismatches between ksft_set_plan() and the number of tests being run.
>
> Fixes: 515bddf0ec41 ("selftests/clone3: test clone3 with CLONE_NEWTIME")
> Cc: Christian Brauner <brauner@xxxxxxxxxx>
> Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx>
> ---

Looks good. Thanks for fixing this,
Reviewed-by: Christian Brauner <brauner@xxxxxxxxxx>

Feel free to take this through the selftests tree, Shuah.