Skip to content

Commit 63aa57f

Browse files
bonzinishuahkh
authored andcommitted
selftests: sync_test: do not use ksft_exit_skip after ksft_set_plan
Calling ksft_exit_skip after ksft_set_plan results in executing fewer tests than planned. Move it before. Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 5b0b77a commit 63aa57f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/sync/sync_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ int main(void)
8686
int err;
8787

8888
ksft_print_header();
89-
ksft_set_plan(3 + 7);
9089

9190
sync_api_supported();
91+
ksft_set_plan(3 + 7);
9292

9393
ksft_print_msg("[RUN]\tTesting sync framework\n");
9494

0 commit comments

Comments
 (0)