linux-stable/tools/testing/selftests/net/mptcp
Geliang Tang 3382bb0970 selftests: mptcp: add print_title in mptcp_lib
This patch adds a new variable MPTCP_LIB_TEST_FORMAT as the test title
printing format. Also add a helper mptcp_lib_print_title() to use this
format to print the test title with test counters. They are used in
mptcp_join.sh first.

Each MPTCP selftest is having subtests, and it helps to give them a
number to quickly identify them. This can be managed by mptcp_lib.sh,
reusing what has been done here. The following commit will use these
new helpers in the other tests.

Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240308-upstream-net-next-20240308-selftests-mptcp-unification-v1-6-4f42c347b653@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-11 15:07:26 -07:00
..
.gitignore selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
Makefile selftests: mptcp: connect: skip if MPTCP is not supported 2023-05-30 13:21:02 +02:00
config selftests: mptcp: add missing kconfig for NF Mangle 2024-02-01 09:06:37 -08:00
diag.sh selftests: mptcp: export TEST_COUNTER variable 2024-03-11 15:07:26 -07:00
mptcp_connect.c selftests/net: mptcp: fix uninitialized variable warnings 2023-11-27 18:12:07 -08:00
mptcp_connect.sh selftests: mptcp: export TEST_COUNTER variable 2024-03-11 15:07:26 -07:00
mptcp_inq.c selftests/net: mptcp: fix uninitialized variable warnings 2023-11-27 18:12:07 -08:00
mptcp_join.sh selftests: mptcp: add print_title in mptcp_lib 2024-03-11 15:07:26 -07:00
mptcp_lib.sh selftests: mptcp: add print_title in mptcp_lib 2024-03-11 15:07:26 -07:00
mptcp_sockopt.c selftests: mptcp: add MPTCP_FULL_INFO testcase 2023-06-21 22:45:58 -07:00
mptcp_sockopt.sh selftests: mptcp: sockopt: print every test result 2024-03-11 15:07:25 -07:00
pm_netlink.sh selftests: mptcp: pm netlink: fix shellcheck warnings 2024-03-07 21:06:52 -08:00
pm_nl_ctl.c selftests: mptcp: add token for get_addr 2024-03-04 13:07:46 +00:00
settings selftests: mptcp: increase timeout to 30 min 2024-02-01 09:06:37 -08:00
simult_flows.sh selftests: mptcp: export TEST_COUNTER variable 2024-03-11 15:07:26 -07:00
userspace_pm.sh selftests: userspace pm: avoid relaunching pm events 2024-03-07 21:06:53 -08:00