Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] mptcp: cleanup and improvements in the selftests
@ 2023-07-30  8:05 Matthieu Baerts
  2023-07-30  8:05 ` [PATCH net-next 1/4] selftests: mptcp: join: rework detailed report Matthieu Baerts
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Matthieu Baerts @ 2023-07-30  8:05 UTC (permalink / raw)
  To: mptcp, Mat Martineau, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Shuah Khan
  Cc: netdev, linux-kselftest, linux-kernel, Matthieu Baerts

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,
-- 
Matthieu Baerts <matthieu.baerts@tessares.net>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-01  3:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-30  8:05 [PATCH net-next 0/4] mptcp: cleanup and improvements in the selftests Matthieu Baerts
2023-07-30  8:05 ` [PATCH net-next 1/4] selftests: mptcp: join: rework detailed report Matthieu Baerts
2023-07-30  8:05 ` [PATCH net-next 2/4] selftests: mptcp: join: colored results Matthieu Baerts
2023-07-30  8:05 ` [PATCH net-next 3/4] selftests: mptcp: pm_nl_ctl: always look for errors Matthieu Baerts
2023-07-30  8:05 ` [PATCH net-next 4/4] selftests: mptcp: userspace_pm: unmute unexpected errors Matthieu Baerts
2023-08-01  3:20 ` [PATCH net-next 0/4] mptcp: cleanup and improvements in the selftests patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox