selftests: mptcp: simult flows: define missing vars
authorGeliang Tang <tanggeliang@kylinos.cn>
Fri, 23 Feb 2024 20:17:58 +0000 (21:17 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Feb 2024 02:42:12 +0000 (18:42 -0800)
commitfccf7c922459c588eb71bdda5c53727e539442e8
tree9dbc01116b45a428cf461a9b83b07285ffbe723d
parent488ccbe76cb4fb3dff87722c35dd5e2ea6c5f8d6
selftests: mptcp: simult flows: define missing vars

The variables 'large', 'small', 'sout', 'cout', 'capout' and 'size' are
used in multiple functions, so they should be clearly defined as global
variables at the top of the file.

This patch redefines them at the beginning of simult_flows.sh.

Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240223-upstream-net-next-20240223-misc-improvements-v1-6-b6c8a10396bd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/simult_flows.sh