Skip to content

Commit a441705

Browse files
Geliang Tangintel-lab-lkp
authored andcommitted
selftests: mptcp: replace mptcp_inq with sockopt
Update mptcp_sockopt.sh to use mptcp_sockopt binary instead of mptcp_inq. This consolidates TCP_INQ testing into a single test binary while maintaining equivalent test coverage. Signed-off-by: Geliang Tang <[email protected]>
1 parent ef20690 commit a441705

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/testing/selftests/net/mptcp/mptcp_sockopt.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ run_tests()
305305
do_tcpinq_test()
306306
{
307307
print_title "TCP_INQ cmsg/ioctl $*"
308-
ip netns exec "$ns_sbox" ./mptcp_inq "$@"
308+
ip netns exec "$ns_sbox" ./mptcp_sockopt "$@"
309309
local lret=$?
310310
if [ $lret -ne 0 ];then
311311
ret=$lret
@@ -330,7 +330,7 @@ do_tcpinq_tests()
330330
fi
331331

332332
local args
333-
for args in "-t tcp" "-r tcp"; do
333+
for args in "-t tcp -i" "-r tcp -i"; do
334334
do_tcpinq_test $args
335335
lret=$?
336336
if [ $lret -ne 0 ] ; then
@@ -343,7 +343,7 @@ do_tcpinq_tests()
343343
fi
344344
done
345345

346-
do_tcpinq_test -r tcp -t tcp
346+
do_tcpinq_test -r tcp -t tcp -i
347347

348348
return $?
349349
}

0 commit comments

Comments
 (0)