diff options
author | Jakub Kicinski <[email protected]> | 2024-02-28 16:59:14 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-03-01 10:30:28 +0000 |
commit | fa1a53d83674b3aa089b8661ee9f884c024f6e95 (patch) | |
tree | fb69dd3ae0469ecb5155b908d16527bff8f0e6bd /scripts/gdb/linux/vmalloc.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 <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions