diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-02-28 16:59:14 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-01 10:30:28 +0000 |
commit | fa1a53d83674b3aa089b8661ee9f884c024f6e95 (patch) | |
tree | fb69dd3ae0469ecb5155b908d16527bff8f0e6bd /scripts/bpf_doc.py | |
parent | 796a344fa4315f9c1f2258de14c1d20cbbef79a8 (diff) |
selftests: kselftest: add ksft_test_result_code(), handling all exit codes
For generic test harness code it's more useful to deal with exit
codes directly, rather than having to switch on them and call
the right ksft_test_result_*() helper. Add such function to kselftest.h.
Note that "directive" and "diagnostic" are what ktap docs call
those parts of the message.
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions