selftests: mptcp: userspace_pm: unmute unexpected errors
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Sun, 30 Jul 2023 08:05:18 +0000 (10:05 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Aug 2023 03:11:53 +0000 (20:11 -0700)
commit6a5c8c69a4c771625ea25fb2bc916d274516288a
tree37dca0edb444e696cfed35b57bdcda4bd9b7f53a
parent1dc88d241f9260fac6477ad040a5f1edbc3c2968
selftests: mptcp: userspace_pm: unmute unexpected errors

All pm_nl_ctl commands were muted. If there was an unexpected error with
one of them, this was simply not visible in the logs, making the
analysis very hard. It could also hide misuse of commands by mistake.

Now the output is only muted when we do expect to have an error, e.g.
when giving invalid arguments on purpose.

Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Link: https://lore.kernel.org/r/20230730-upstream-net-next-20230728-mptcp-selftests-misc-v1-4-7e9cc530a9cd@tessares.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/userspace_pm.sh