aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/landlock/net_test.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-02-28 16:59:11 -0800
committerDavid S. Miller <davem@davemloft.net>2024-03-01 10:30:28 +0000
commit38c957f07038278b98af7223a411c0daa54bd1b4 (patch)
tree8323091112b704f38d39f46e1600c5048eb1c759 /tools/testing/selftests/landlock/net_test.c
parentselftests: kselftest_harness: use KSFT_* exit codes (diff)
downloadwireguard-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