selftests: mptcp: userspace pm: skip if 'ip' tool is unavailable
[platform/kernel/linux-starfive.git] / tools / testing / selftests / net / mptcp / userspace_pm.sh
index 084a2b0..0ec4c2a 100755 (executable)
@@ -8,7 +8,7 @@ mptcp_lib_check_mptcp
 ip -Version > /dev/null 2>&1
 if [ $? -ne 0 ];then
        echo "SKIP: Cannot not run test without ip tool"
-       exit 1
+       exit ${KSFT_SKIP}
 fi
 
 ANNOUNCED=6        # MPTCP_EVENT_ANNOUNCED