selftests: mptcp: Restore packet capture option in join tests
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Sat, 13 Mar 2021 00:43:52 +0000 (16:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Mar 2021 01:52:27 +0000 (17:52 -0800)
commita673321aa74fc5604643d6a4653684c0bc9fa617
tree34d15bedc757168335a6f8974df1b5d69a4fd987
parentc3b8e07909dbe67b0d580416c1a5257643a73be7
selftests: mptcp: Restore packet capture option in join tests

The join self tests previously used the '-c' command line option to
enable creation of pcap files for the tests that run, but the change to
allow running a subset of the join tests made overlapping use of that
option.

Restore the capture functionality with '-c' and move the syncookie test
option to '-k'.

Fixes: 1002b89f23ea ("selftests: mptcp: add command line arguments for mptcp_join.sh")
Acked-and-tested-by: Geliang Tang <geliangtang@gmail.com>
Co-developed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/mptcp_join.sh