diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-23 03:15:47 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-07-07 00:57:28 +0300 |
commit | 63aa57f52ce431682206f874a9d39a426e5ce7ea (patch) | |
tree | f351c752df4bcab94ae14bb158f9e17438c374cd /tools/testing/selftests/sync | |
parent | 5b0b77ac41e8d97260b35bade6eea21b2d74fdca (diff) | |
download | linux-63aa57f52ce431682206f874a9d39a426e5ce7ea.tar.xz |
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>
Diffstat (limited to 'tools/testing/selftests/sync')
-rw-r--r-- | tools/testing/selftests/sync/sync_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/sync/sync_test.c b/tools/testing/selftests/sync/sync_test.c index 3824b66f41a0..414a617db993 100644 --- a/tools/testing/selftests/sync/sync_test.c +++ b/tools/testing/selftests/sync/sync_test.c @@ -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"); |