selftests: mptcp: fix error path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Paolo Abeni <pabeni@xxxxxxxxxx>

commit 4a2f48992ddf4b8c2fba846c6754089edae6db5a upstream.

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

Fixes: 03668c65d153 ("selftests: mptcp: join: rework detailed report")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Paolo Abeni <pabeni@xxxxxxxxxx>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 tools/testing/selftests/net/mptcp/mptcp_join.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/tools/testing/selftests/net/mptcp/mptcp_join.sh
+++ b/tools/testing/selftests/net/mptcp/mptcp_join.sh
@@ -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
 


Patches currently in stable-queue which might be from pabeni@xxxxxxxxxx are

queue-6.10/selftests-mptcp-join-check-backup-support-in-signal-endp.patch
queue-6.10/ipv6-fix-ndisc_is_useropt-handling-for-pio.patch
queue-6.10/mptcp-pm-only-set-request_bkup-flag-when-sending-mp_prio.patch
queue-6.10/mptcp-fix-duplicate-data-handling.patch
queue-6.10/netlink-specs-correct-the-spec-of-ethtool.patch
queue-6.10/mptcp-pm-fix-backup-support-in-signal-endpoints.patch
queue-6.10/mptcp-distinguish-rcv-vs-sent-backup-flag-in-requests.patch
queue-6.10/mptcp-fix-user-space-pm-announced-address-accounting.patch
queue-6.10/selftests-mptcp-fix-error-path.patch
queue-6.10/mptcp-sched-check-both-directions-for-backup.patch
queue-6.10/selftests-mptcp-join-validate-backup-in-mpj.patch
queue-6.10/mptcp-fix-bad-rcvpruned-mib-accounting.patch
queue-6.10/ethtool-rss-echo-the-context-number-back.patch
queue-6.10/net-iucv-fix-use-after-free-in-iucv_sock_close.patch
queue-6.10/mptcp-fix-nl-pm-announced-address-accounting.patch
queue-6.10/mptcp-mib-count-mpj-with-backup-flag.patch




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux