]> 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)
commit7b752400cfb03bd1a89c28eb14d67432a1c2f88e
treee0674b0e5e08b206dea4d571d661b8e6a58e25f5
parentec86248e878086cf0a5488a7a188278203560d05
selftests: mptcp: do complete cleanup at exit

After commit 154fd2bb800a ("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: 154fd2bb800a ("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