Re: [PATCH net-next v3 05/11] selftests: kselftest_harness: use exit code to store skip
From: Kees Cook <hidden>
Date: 2024-02-21 00:49:27
Also in:
linux-kselftest, linux-security-module
From: Kees Cook <hidden>
Date: 2024-02-21 00:49:27
Also in:
linux-kselftest, linux-security-module
On Tue, Feb 20, 2024 at 11:22:29AM -0800, Jakub Kicinski wrote:
We always use skip in combination with exit_code being 0 (KSFT_PASS). This are basic KSFT / KTAP semantics. Store the right KSFT_* code in exit_code directly. This makes it easier to support tests reporting other extended KSFT_* codes like XFAIL / XPASS. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Kees Cook <redacted> -- Kees Cook