mirror_ubuntu-kernels/tools/testing/selftests/clone3
Tobias Klauser d95debbdc5
selftests/clone3: fix number of tests in ksft_set_plan
Commit 515bddf0ec ("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: 515bddf0ec ("selftests/clone3: test clone3 with CLONE_NEWTIME")
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-04-06 11:57:28 +02:00
..
.gitignore selftests: add clone3() CAP_CHECKPOINT_RESTORE test 2020-07-20 15:47:42 +02:00
clone3_cap_checkpoint_restore.c selftests: clone3: use SKIP instead of XFAIL 2020-11-05 10:08:15 -07:00
clone3_clear_sighand.c selftests/clone3: Avoid OS-defined clone_args 2020-10-08 13:17:25 -07:00
clone3_selftests.h selftests/clone3: Avoid OS-defined clone_args 2020-10-08 13:17:25 -07:00
clone3_set_tid.c selftests/clone3: Avoid OS-defined clone_args 2020-10-08 13:17:25 -07:00
clone3.c selftests/clone3: fix number of tests in ksft_set_plan 2023-04-06 11:57:28 +02:00
Makefile selftests: clone3: Fix incorrect kernel headers search path 2023-01-30 15:01:52 -07:00