selftests: Add test plan API to kselftest.h and adjust callers
The test plan for TAP needs to be declared immediately after the header. This adds the test plan API to kselftest.h and updates all callers to declare their expected test counts. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:

gecommit door
Shuah Khan

bovenliggende
f41c322f17
commit
5821ba9695
@@ -371,6 +371,7 @@ static int test_pidfd_send_signal_syscall_support(void)
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
ksft_print_header();
|
||||
ksft_set_plan(4);
|
||||
|
||||
test_pidfd_send_signal_syscall_support();
|
||||
test_pidfd_send_signal_simple_success();
|
||||
|
Verwijs in nieuw issue
Block a user