[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202402201649.C83025144D@keescook>
Date: Tue, 20 Feb 2024 16:49:25 -0800
From: Kees Cook <keescook@...omium.org>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, shuah@...nel.org,
linux-kselftest@...r.kernel.org, mic@...ikod.net,
linux-security-module@...r.kernel.org, jakub@...udflare.com
Subject: Re: [PATCH net-next v3 05/11] selftests: kselftest_harness: use exit
code to store skip
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@...nel.org>
Reviewed-by: Kees Cook <keescook@...omium.org>
--
Kees Cook
Powered by blists - more mailing lists