projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b0b77a
)
selftests: sync_test: do not use ksft_exit_skip after ksft_set_plan
author
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 23 Jun 2020 00:15:47 +0000
(20:15 -0400)
committer
Shuah Khan
<skhan@linuxfoundation.org>
Mon, 6 Jul 2020 21:57:28 +0000
(15:57 -0600)
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>
tools/testing/selftests/sync/sync_test.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/sync/sync_test.c
b/tools/testing/selftests/sync/sync_test.c
index 3824b66f41a095d6bb84a82048105ca8b4343df9..414a617db9933138c1ada1812b67a7d38d8e144f 100644
(file)
--- 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");