diff options
author | Geliang Tang <[email protected]> | 2022-11-30 15:06:32 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-12-01 20:06:07 -0800 |
commit | a3735625572d8f9cac3eb12a43c869d97ccbf584 (patch) | |
tree | da1751e1eb5a94649cf82279b0d07504e48b8db8 /lib/mpi/mpi-mod.c | |
parent | 6c73008aa301b7456b80d0e1416a240815fe947b (diff) |
selftests: mptcp: make evts global in mptcp_join
This patch moves evts_ns1 and evts_ns2 out of do_transfer() as two global
variables in mptcp_join.sh. Init them in init() and remove them in
cleanup().
Add a new helper reset_with_events() to save the outputs of 'pm_nl_ctl
events' command in them. And a new helper kill_events_pids() to kill
pids of 'pm_nl_ctl events' command. Use these helpers in userspace pm
tests.
Suggested-by: Paolo Abeni <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions