mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
selftests: mptcp: userspace_pm: report errors with 'remove' tests
commit966c6c3adf
upstream. 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: https://github.com/multipath-tcp/mptcp_net-next/issues/368 Fixes:259a834fad
("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4098a43182
commit
08daab11f3
1 changed files with 2 additions and 0 deletions
|
@ -387,6 +387,7 @@ test_remove()
|
|||
stdbuf -o0 -e0 printf "[OK]\n"
|
||||
else
|
||||
stdbuf -o0 -e0 printf "[FAIL]\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# RM_ADDR using an invalid addr id should result in no action
|
||||
|
@ -401,6 +402,7 @@ test_remove()
|
|||
stdbuf -o0 -e0 printf "[OK]\n"
|
||||
else
|
||||
stdbuf -o0 -e0 printf "[FAIL]\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# RM_ADDR from the client to server machine
|
||||
|
|
Loading…
Reference in a new issue