selftests: mptcp: use max_time instead of time
authorGeliang Tang <geliang.tang@suse.com>
Thu, 10 Nov 2022 23:23:21 +0000 (15:23 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 12 Nov 2022 05:19:47 +0000 (21:19 -0800)
commit31b4e63eb24a81770b0e46a768f606a114787262
treef61b3baff47c99ee0d373aec63523e0a1c9dca1d
parent80638684e840684042325fa5a3fa1eb59fd123cc
selftests: mptcp: use max_time instead of time

'time' is the local variable of run_test() function, while 'max_time' is
the local variable of do_transfer() function. So in do_transfer(),
$max_time should be used, not $time.

Please note that here $time == $max_time so the behaviour is not changed
but the right variable is used.

Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Geliang Tang <geliang.tang@suse.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/simult_flows.sh