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@xxxxxxxxxx> Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx> -- Kees Cook