selftests: mptcp: reset the last TS before the first test
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Fri, 6 Sep 2024 18:46:09 +0000 (20:46 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 9 Sep 2024 23:52:04 +0000 (16:52 -0700)
commitd4e192728efc532bc9a93e664f81fac602786450
treed216d278a280da26adefbecb7c15fb9e38b6f423
parent1a38cee4bbd0adeb62e11aab429678b1fb4a12ae
selftests: mptcp: reset the last TS before the first test

Just to slightly improve the precision of the duration of the first
test.

In mptcp_join.sh, the last append_prev_results is now done as soon as
the last test is over: this will add the last result in the list, and
get a more precise time for this last test.

Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20240906-net-next-mptcp-ksft-subtest-time-v2-3-31d5ee4f3bdf@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_connect.sh
tools/testing/selftests/net/mptcp/mptcp_join.sh
tools/testing/selftests/net/mptcp/mptcp_sockopt.sh
tools/testing/selftests/net/mptcp/pm_netlink.sh
tools/testing/selftests/net/mptcp/simult_flows.sh
tools/testing/selftests/net/mptcp/userspace_pm.sh