Commit 4a2f4899 authored by Paolo Abeni's avatar Paolo Abeni Committed by David S. Miller

selftests: mptcp: fix error path

pm_nl_check_endpoint() currently calls an not existing helper
to mark the test as failed. Fix the wrong call.

Fixes: 03668c65 ("selftests: mptcp: join: rework detailed report")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Reviewed-by: default avatarMatthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: default avatarMatthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b5e2fb83
...@@ -661,7 +661,7 @@ pm_nl_check_endpoint() ...@@ -661,7 +661,7 @@ pm_nl_check_endpoint()
done done
if [ -z "${id}" ]; then if [ -z "${id}" ]; then
test_fail "bad test - missing endpoint id" fail_test "bad test - missing endpoint id"
return return
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment