hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/tools/testing/selftests/net/mptcp/diag.sh
....@@ -1,6 +1,8 @@
11 #!/bin/bash
22 # SPDX-License-Identifier: GPL-2.0
33
4
+. "$(dirname "${0}")/mptcp_lib.sh"
5
+
46 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX)
57 ns="ns1-$rndh"
68 ksft_skip=4
....@@ -28,6 +30,8 @@
2830 done
2931 }
3032
33
+mptcp_lib_check_mptcp
34
+
3135 ip -Version > /dev/null 2>&1
3236 if [ $? -ne 0 ];then
3337 echo "SKIP: Could not run test without ip tool"