1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/kselftest
Laura Nao 170c966cbe selftests: ksft: Fix finished() helper exit code on skipped tests
The Python finished() helper currently exits with KSFT_FAIL when there
are only passed and skipped tests. Fix the logic to exit with KSFT_PASS
instead, making it consistent with its C and bash counterparts
(ksft_finished() and ktap_finished() respectively).

Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Fixes: dacf1d7a78 ("kselftest: Add test to verify probe of devices from discoverable buses")
Signed-off-by: Laura Nao <laura.nao@collabora.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-07-31 11:38:56 -06:00
..
ksft.py selftests: ksft: Fix finished() helper exit code on skipped tests 2024-07-31 11:38:56 -06:00
ktap_helpers.sh selftests: ktap_helpers: Make it POSIX-compliant 2024-05-06 13:57:20 -06:00
module.sh selftests: Fix dangling documentation references to kselftest_module.sh 2019-12-11 10:27:01 -07:00
prefix.pl tweewide: Fix most Shebang lines 2020-12-08 23:30:04 +09:00
runner.sh kselftest/runner.sh: add netns support 2023-12-23 00:26:32 +00:00