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 <pbonzini@redhat.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
5b0b77ac41
commit
63aa57f52c
|
@ -86,9 +86,9 @@ int main(void)
|
|||
int err;
|
||||
|
||||
ksft_print_header();
|
||||
ksft_set_plan(3 + 7);
|
||||
|
||||
sync_api_supported();
|
||||
ksft_set_plan(3 + 7);
|
||||
|
||||
ksft_print_msg("[RUN]\tTesting sync framework\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue