kernel/tools/testing/selftests/net/mptcp/simult_flows.sh
.. .. @@ -1,6 +1,8 @@ 1 1 #!/bin/bash 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 4 +. "$(dirname "${0}")/mptcp_lib.sh"5 +4 6 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX) 5 7 ns1="ns1-$rndh" 6 8 ns2="ns2-$rndh" .. .. @@ -31,6 +33,8 @@ 31 33 done 32 34 } 33 35 36 +mptcp_lib_check_mptcp37 +34 38 ip -Version > /dev/null 2>&1 35 39 if [ $? -ne 0 ];then 36 40 echo "SKIP: Could not run test without ip tool"