Hi Matt,
On Sat, 2025-11-08 at 15:20 +0100, Matthieu Baerts (NGI0) wrote:
> A few patches to improve the selftests in case of issues:
>
> - Patch 1: a fix to properly kill background tasks.
>
> - Patch 2: avoid taking the same packet trace twice.
>
> - Patch 3: wait for an event instead of a fix time.
>
> - Patch 4: instead of using 'timeout' and print the stats after,
> another
> internal timeout is used: if it fires, it will print stats, then
> stop
> everything. This avoids confusions around stats in case of timeout.
>
> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
This set looks good to me.
Reviewed-by: Geliang Tang <geliang@kernel.org>
Thanks,
-Geliang
> ---
> Matthieu Baerts (NGI0) (4):
> selftests: mptcp: join: properly kill background tasks
> selftests: mptcp: connect: avoid double packet traces
> selftests: mptcp: wait for port instead of sleep
> selftests: mptcp: get stats just before timing out
>
> tools/testing/selftests/net/mptcp/mptcp_connect.sh | 31 ++++++++----
> --
> tools/testing/selftests/net/mptcp/mptcp_join.sh | 47 +++++++++++-
> ----------
> tools/testing/selftests/net/mptcp/mptcp_lib.sh | 34
> ++++++++++++++++
> tools/testing/selftests/net/mptcp/mptcp_sockopt.sh | 23 ++++++-----
> tools/testing/selftests/net/mptcp/simult_flows.sh | 24 ++++++-----
> tools/testing/selftests/net/mptcp/userspace_pm.sh | 3 +-
> 6 files changed, 106 insertions(+), 56 deletions(-)
> ---
> base-commit: e3f3a4ba83a02423a3cb045f7485340b713fb549
> change-id: 20251106-slft-timeout-stats-d061de7fcebe
>
> Best regards,