Skip to content

Commit 966c6c3

Browse files
matttbedavem330
authored andcommitted
selftests: mptcp: userspace_pm: report errors with 'remove' tests
A message was mentioning an issue with the "remove" tests but the selftest was not marked as failed. Directly exit with an error like it is done everywhere else in this selftest. Link: multipath-tcp/mptcp_net-next#368 Fixes: 259a834 ("selftests: mptcp: functional tests for the userspace PM type") Cc: stable@vger.kernel.org Acked-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent d8566d0 commit 966c6c3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ test_remove()
423423
stdbuf -o0 -e0 printf "[OK]\n"
424424
else
425425
stdbuf -o0 -e0 printf "[FAIL]\n"
426+
exit 1
426427
fi
427428

428429
# RM_ADDR using an invalid addr id should result in no action
@@ -437,6 +438,7 @@ test_remove()
437438
stdbuf -o0 -e0 printf "[OK]\n"
438439
else
439440
stdbuf -o0 -e0 printf "[FAIL]\n"
441+
exit 1
440442
fi
441443

442444
# RM_ADDR from the client to server machine

0 commit comments

Comments
 (0)