selftests: mptcp: do complete cleanup at exit
After commit 05be5e273c84 ("selftests: mptcp: add disconnect tests") the mptcp selftests leave behind a couple of tmp files after each run. run_tests_disconnect() misnames a few variables used to track them. Address the issue setting the appropriate global variables Fixes: 05be5e273c84 ("selftests: mptcp: add disconnect tests") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
07c2c7a3b6
commit
63bb8239d8
@ -763,8 +763,8 @@ run_tests_disconnect()
|
||||
run_tests_lo "$ns1" "$ns1" dead:beef:1::1 1 "-I 3 -i $old_cin"
|
||||
|
||||
# restore previous status
|
||||
cout=$old_cout
|
||||
cout_disconnect="$cout".disconnect
|
||||
sin=$old_sin
|
||||
sin_disconnect="$cout".disconnect
|
||||
cin=$old_cin
|
||||
cin_disconnect="$cin".disconnect
|
||||
connect_per_transfer=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user