mbox series

[net-next,0/4] mptcp: cleanup and improvements in the selftests

Message ID 20230730-upstream-net-next-20230728-mptcp-selftests-misc-v1-0-7e9cc530a9cd@tessares.net (mailing list archive)
Headers show
Series mptcp: cleanup and improvements in the selftests | expand

Message

Matthieu Baerts July 30, 2023, 8:05 a.m. UTC
This small series of 4 patches adds some improvements in MPTCP
selftests:

- Patch 1 reworks the detailed report of mptcp_join.sh selftest to
  better display what went well or wrong per test.

- Patch 2 adds colours (if supported, forced and/or not disabled) in
  mptcp_join.sh selftest output to help spotting issues.

- Patch 3 modifies an MPTCP selftest tool to interact with the
  path-manager via Netlink to always look for errors if any. This makes
  sure odd behaviours can be seen in the logs and errors can be caught
  later if needed.

- Patch 4 removes stdout and stderr redirections to /dev/null when using
  pm_nl_ctl if no errors are expected in order to log odd behaviours.

Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
---
Matthieu Baerts (4):
      selftests: mptcp: join: rework detailed report
      selftests: mptcp: join: colored results
      selftests: mptcp: pm_nl_ctl: always look for errors
      selftests: mptcp: userspace_pm: unmute unexpected errors

 tools/testing/selftests/net/mptcp/mptcp_join.sh   | 452 ++++++++++------------
 tools/testing/selftests/net/mptcp/mptcp_lib.sh    |  39 ++
 tools/testing/selftests/net/mptcp/pm_netlink.sh   |   6 +-
 tools/testing/selftests/net/mptcp/pm_nl_ctl.c     |  33 +-
 tools/testing/selftests/net/mptcp/userspace_pm.sh | 100 ++---
 5 files changed, 329 insertions(+), 301 deletions(-)
---
base-commit: 64a37272fa5fb2d951ebd1a96fd42b045d64924c
change-id: 20230728-upstream-net-next-20230728-mptcp-selftests-misc-0190cfd69ef9

Best regards,

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 1, 2023, 3:20 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sun, 30 Jul 2023 10:05:14 +0200 you wrote:
> This small series of 4 patches adds some improvements in MPTCP
> selftests:
> 
> - Patch 1 reworks the detailed report of mptcp_join.sh selftest to
>   better display what went well or wrong per test.
> 
> - Patch 2 adds colours (if supported, forced and/or not disabled) in
>   mptcp_join.sh selftest output to help spotting issues.
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] selftests: mptcp: join: rework detailed report
    https://git.kernel.org/netdev/net-next/c/03668c65d153
  - [net-next,2/4] selftests: mptcp: join: colored results
    https://git.kernel.org/netdev/net-next/c/9466df1a27d5
  - [net-next,3/4] selftests: mptcp: pm_nl_ctl: always look for errors
    https://git.kernel.org/netdev/net-next/c/1dc88d241f92
  - [net-next,4/4] selftests: mptcp: userspace_pm: unmute unexpected errors
    https://git.kernel.org/netdev/net-next/c/6a5c8c69a4c7

You are awesome, thank you!