selftests: mptcp: connect: print pcap prefix
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Fri, 12 Sep 2025 12:25:54 +0000 (14:25 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Sep 2025 01:10:37 +0000 (18:10 -0700)
commitcf74e0aa0eb024741c8b5cb7e839d2824ca77336
tree34eac6daabb8343b28cbd275e4c0863c98770ab5
parenta17c5aa3a32373f80b4714b411bd8d4ffee6fc6a
selftests: mptcp: connect: print pcap prefix

To be able to find which capture files have been produced after several
runs.

This prefix was not printed anywhere before.

While at it, always use the same prefix by taking info from ns1, instead
of "$connector_ns", which is sometimes ns1, sometimes ns2 in the
subtests.

Reviewed-by: Mat Martineau <martineau@kernel.org>
Reviewed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250912-net-mptcp-fix-sft-connect-v1-5-d40e77cbbf02@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_connect.sh