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:46 -0800
committerJakub Kicinski <[email protected]>2023-11-29 20:06:17 -0800
commit06848c0f341ee3f9226ed01e519c72e4d2b6f001 (patch)
tree1716d596df10b2c6b62bcb560fb4711a63b0d7fd /tools/testing/selftests/bpf/progs/test_autoload.c
parent6ebf6f90ab4ac09a76172a6d387e8819d3259595 (diff)
selftests: mptcp: add evts_get_info helper
This patch adds a new helper get_info_value(), using 'sed' command to parse the value of the given item name in the line with the given keyword, to make chk_mptcp_info() and pedit_action_pkts() more readable. Also add another helper evts_get_info() to use get_info_value() to parse the output of 'pm_nl_ctl events' command, to make all the userspace pm selftests more readable, both in mptcp_join.sh and userspace_pm.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