]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: mptcp: join: do_transfer: reduce code dup
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Sat, 1 Nov 2025 17:56:53 +0000 (18:56 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Nov 2025 01:15:06 +0000 (17:15 -0800)
commit4a6220a453c8afd46a01f0bbe56bc6734adb77b7
treeea0d08eb626c72780b3670e293dfaad9986eff63
parente461e8a799a2984e9b55f40c65d123a114496dff
selftests: mptcp: join: do_transfer: reduce code dup

The same extra long commands are present twice, with small differences:
the variable for the stdin file is different.

Use new dedicated variables in one command to avoid this code
duplication.

Reviewed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20251101-net-next-mptcp-fm-endp-nb-bind-v1-3-b4166772d6bb@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh