Subject: Re: [RFC 1/7] selftests: kselftest_harness: generate test name once

From: Kees Cook <[email-masked]>
Date: Fri, 16 Feb 2024 13:24:06 -0800

On Thu, Feb 15, 2024 at 04:41:16PM -0800, Jakub Kicinski wrote:
> Since we added variant support generating full test case
> name takes 4 string arguments. We're about to need it
> in another two places. Stop the duplication and print
> once into a temporary buffer.
> 
> Suggested-by: Jakub Sitnicki <[email-masked]>
> Signed-off-by: Jakub Kicinski <[email-masked]>

Clean refactoring -- makes this much more readable.

Acked-by: Kees Cook <[email-masked]>

-- 
Kees Cook