selftests: mptcp: add fullmesh env var
authorGeliang Tang <geliang.tang@suse.com>
Wed, 12 Jul 2023 16:03:18 +0000 (18:03 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 14 Jul 2023 03:34:51 +0000 (20:34 -0700)
commit4aadde088a58e40bc14e6cefa285aa600a0942c4
tree2e0147e142e7df4cf7b35644547a2a895dfdc24f
parent080b7f5733fd1283509e667bb49d19cc1b245083
selftests: mptcp: add fullmesh env var

Use a new env var fullmesh instead of passing 'fullmesh_*' to addr_nr_ns2.
It can be set with the actual value of addr_nr_ns2 now:

  addr_nr_ns2=fullmesh_1 \
          run_tests $ns1 $ns2 10.0.1.1

  ->

  fullmesh=1 \
          run_tests $ns1 $ns2 10.0.1.1.

Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Link: https://lore.kernel.org/r/20230712-upstream-net-next-20230712-selftests-mptcp-use-local-env-v1-3-f1c8b62fbf95@tessares.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh