Skip to content

Commit

Permalink
selftests: mptcp: fix error path
Browse files Browse the repository at this point in the history
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")
Signed-off-by: Paolo Abeni <[email protected]>
  • Loading branch information
Paolo Abeni authored and intel-lab-lkp committed Jul 5, 2024
1 parent ab20290 commit 945ba92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/net/mptcp/mptcp_join.sh
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ pm_nl_check_endpoint()
done

if [ -z "${id}" ]; then
test_fail "bad test - missing endpoint id"
fail_test "bad test - missing endpoint id"
return
fi

Expand Down

0 comments on commit 945ba92

Please sign in to comment.