aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2023-11-28 15:18:57 -0800
committerJakub Kicinski <[email protected]>2023-11-29 20:06:18 -0800
commit3a96dea9f88763cfa29e15f681f95fca8952ec77 (patch)
tree083301e3ec9ad4b5b13c73215ca9d5731f2eb7ef /tools/testing/selftests/bpf/progs/test_autoload.c
parent119931cc88ce7073b9a289c13abaf2348d55fdfa (diff)
selftests: mptcp: add mptcp_lib_make_file
To avoid duplicated code in different MPTCP selftests, we can add and use helpers defined in mptcp_lib.sh. make_file() helper in mptcp_sockopt.sh and userspace_pm.sh are the same. Export it into mptcp_lib.sh and rename it as mptcp_lib_kill_wait(). Use it in both mptcp_connect.sh and mptcp_join.sh. Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions