aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorLaura Nao <[email protected]>2024-07-30 12:29:28 +0200
committerShuah Khan <[email protected]>2024-07-31 11:38:56 -0600
commit170c966cbe274e664288cfc12ee919d5e706dc50 (patch)
tree92bd1af0759eb33dad98353301827aa635bc6941 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
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 <[email protected]> Fixes: dacf1d7a78bf ("kselftest: Add test to verify probe of devices from discoverable buses") Signed-off-by: Laura Nao <[email protected]> Reviewed-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions