[PATCH net-next v3 06/11] selftests: kselftest: add ksft_test_result_code(), handling all exit codes
Kees Cook
keescook at chromium.org
Wed Feb 21 00:49:55 UTC 2024
On Tue, Feb 20, 2024 at 11:22:30AM -0800, Jakub Kicinski wrote:
> 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.
>
> Signed-off-by: Jakub Kicinski <kuba at kernel.org>
Reviewed-by: Kees Cook <keescook at chromium.org>
--
Kees Cook
More information about the Linux-security-module-archive
mailing list