mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
selftests: mptcp: userspace pm: skip if 'ip' tool is unavailable
commit723d6b9b12
upstream. When a required tool is missing, the return code 4 (SKIP) should be returned instead of 1 (FAIL). Link: https://github.com/multipath-tcp/mptcp_net-next/issues/368 Fixes:259a834fad
("selftests: mptcp: functional tests for the userspace PM type") Cc: stable@vger.kernel.org Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bfe225dec6
commit
733bf9d80d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue