]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: breakpoints: do not use ksft_exit_skip after ksft_set_plan
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Jun 2020 00:15:44 +0000 (20:15 -0400)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 6 Jul 2020 21:47:48 +0000 (15:47 -0600)
commit1281bfc69665915bb26ec62e521496c07ef64b04
treea2ab4eb17f4f5f2ae6c01d45f61be73654fe1e31
parent25ac2d42bd4bdb3a9d723e676ca6dd32e9758a58
selftests: breakpoints: 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.  Use ksft_test_result_skip for the individual tests.
The call in suspend() is fine, but ksft_set_plan should be after it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/breakpoints/step_after_suspend_test.c