]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mptcp: do complete cleanup at exit
authorPaolo Abeni <pabeni@redhat.com>
Fri, 25 Feb 2022 00:52:58 +0000 (16:52 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 25 Feb 2022 05:54:54 +0000 (21:54 -0800)
commit63bb8239d80571204c61d19c73f7bf5e3d9ef5fa
treee0674b0e5e08b206dea4d571d661b8e6a58e25f5
parent07c2c7a3b622e109ba4d2efd916da0477617ce81
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>
tools/testing/selftests/net/mptcp/mptcp_connect.sh