]> Git Repo - linux.git/commit
selftests: kselftest_harness: generate test name once
authorJakub Kicinski <[email protected]>
Thu, 29 Feb 2024 00:59:11 +0000 (16:59 -0800)
committerDavid S. Miller <[email protected]>
Fri, 1 Mar 2024 10:30:28 +0000 (10:30 +0000)
commit38c957f07038278b98af7223a411c0daa54bd1b4
tree8323091112b704f38d39f46e1600c5048eb1c759
parenta724707976b0bcf5eb6f4637dead0cc380659940
selftests: kselftest_harness: generate test name once

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 protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
tools/testing/selftests/kselftest_harness.h
This page took 0.054611 seconds and 4 git commands to generate.