Skip to content

Commit 4a2f489

Browse files
Paolo Abenidavem330
authored andcommitted
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: 03668c6 ("selftests: mptcp: join: rework detailed report") Cc: stable@vger.kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b5e2fb8 commit 4a2f489

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/net/mptcp/mptcp_join.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ pm_nl_check_endpoint()
661661
done
662662

663663
if [ -z "${id}" ]; then
664-
test_fail "bad test - missing endpoint id"
664+
fail_test "bad test - missing endpoint id"
665665
return
666666
fi
667667

0 commit comments

Comments
 (0)