diff options
author | 2024-02-28 16:59:11 -0800 | |
---|---|---|
committer | 2024-03-01 10:30:28 +0000 | |
commit | 38c957f07038278b98af7223a411c0daa54bd1b4 (patch) | |
tree | 8323091112b704f38d39f46e1600c5048eb1c759 /tools/testing/selftests/landlock/net_test.c | |
parent | selftests: kselftest_harness: use KSFT_* exit codes (diff) | |
download | wireguard-linux-38c957f07038278b98af7223a411c0daa54bd1b4.tar.xz wireguard-linux-38c957f07038278b98af7223a411c0daa54bd1b4.zip |
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 <jakub@cloudflare.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/landlock/net_test.c')
0 files changed, 0 insertions, 0 deletions