selftests: mptcp: set all env vars as local ones
authorGeliang Tang <geliang.tang@suse.com>
Wed, 12 Jul 2023 16:03:16 +0000 (18:03 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 14 Jul 2023 03:34:50 +0000 (20:34 -0700)
commit662aa22d7dcdc4806a44038c8f0015e559d46c6d
tree8bf5f8987f73777284e3c2cdecd9bdbddbad8ad3
parentd2afa89f6690616b9fb55f3f74e6d2927589e43a
selftests: mptcp: set all env vars as local ones

It would be better to move the declaration of all the env variables to
do_transfer(), run_tests(), or pm_nl_set_endpoint() as local variables,
instead of exporting them globally at the beginning of the file.

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-1-f1c8b62fbf95@tessares.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh