selftests: sync_test: do not use ksft_exit_skip after ksft_set_plan
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Jun 2020 00:15:47 +0000 (20:15 -0400)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 6 Jul 2020 21:57:28 +0000 (15:57 -0600)
commit63aa57f52ce431682206f874a9d39a426e5ce7ea
treef351c752df4bcab94ae14bb158f9e17438c374cd
parent5b0b77ac41e8d97260b35bade6eea21b2d74fdca
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>
tools/testing/selftests/sync/sync_test.c