mbox series

[net-next,v4,00/13] selftests: Updates to allow single instance of nettest for client and server

Message ID 20210114030949.54425-1-dsahern@kernel.org (mailing list archive)
Headers show
Series selftests: Updates to allow single instance of nettest for client and server | expand

Message

David Ahern Jan. 14, 2021, 3:09 a.m. UTC
Update nettest to handle namespace change internally to allow a
single instance to run both client and server modes. Device validation
needs to be moved after the namespace change and a few run time
options need to be split to allow values for client and server.

v4
- really fix the memory leak with stdout/stderr buffers

v3
- send proper status in do_server for UDP sockets
- fix memory leak with stdout/stderr buffers
- new patch with separate option for address binding
- new patch to remove unnecessary newline

v2
- fix checkpath warnings

David Ahern (13):
  selftests: Move device validation in nettest
  selftests: Move convert_addr up in nettest
  selftests: Move address validation in nettest
  selftests: Add options to set network namespace to nettest
  selftests: Add support to nettest to run both client and server
  selftests: Use separate stdout and stderr buffers in nettest
  selftests: Add missing newline in nettest error messages
  selftests: Make address validation apply only to client mode
  selftests: Consistently specify address for MD5 protection
  selftests: Add new option for client-side passwords
  selftests: Add separate options for server device bindings
  selftests: Remove exraneous newline in nettest
  selftests: Add separate option to nettest for address binding

 tools/testing/selftests/net/fcnal-test.sh | 402 +++++++--------
 tools/testing/selftests/net/nettest.c     | 585 +++++++++++++++-------
 2 files changed, 606 insertions(+), 381 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 15, 2021, 12:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Wed, 13 Jan 2021 20:09:36 -0700 you wrote:
> Update nettest to handle namespace change internally to allow a
> single instance to run both client and server modes. Device validation
> needs to be moved after the namespace change and a few run time
> options need to be split to allow values for client and server.
> 
> v4
> - really fix the memory leak with stdout/stderr buffers
> 
> [...]

Here is the summary with links:
  - [net-next,v4,01/13] selftests: Move device validation in nettest
    https://git.kernel.org/netdev/net-next/c/3a70a6451551
  - [net-next,v4,02/13] selftests: Move convert_addr up in nettest
    https://git.kernel.org/netdev/net-next/c/6fc90e18994c
  - [net-next,v4,03/13] selftests: Move address validation in nettest
    https://git.kernel.org/netdev/net-next/c/f2f575840a59
  - [net-next,v4,04/13] selftests: Add options to set network namespace to nettest
    https://git.kernel.org/netdev/net-next/c/092e0ceb12f2
  - [net-next,v4,05/13] selftests: Add support to nettest to run both client and server
    https://git.kernel.org/netdev/net-next/c/6469403c97b4
  - [net-next,v4,06/13] selftests: Use separate stdout and stderr buffers in nettest
    https://git.kernel.org/netdev/net-next/c/f222c37cf75a
  - [net-next,v4,07/13] selftests: Add missing newline in nettest error messages
    https://git.kernel.org/netdev/net-next/c/db9993359e58
  - [net-next,v4,08/13] selftests: Make address validation apply only to client mode
    https://git.kernel.org/netdev/net-next/c/9a8d584964fc
  - [net-next,v4,09/13] selftests: Consistently specify address for MD5 protection
    https://git.kernel.org/netdev/net-next/c/a824e261d7cd
  - [net-next,v4,10/13] selftests: Add new option for client-side passwords
    https://git.kernel.org/netdev/net-next/c/d3857b8f0d19
  - [net-next,v4,11/13] selftests: Add separate options for server device bindings
    https://git.kernel.org/netdev/net-next/c/8a909735fa29
  - [net-next,v4,12/13] selftests: Remove exraneous newline in nettest
    https://git.kernel.org/netdev/net-next/c/f26a008c4512
  - [net-next,v4,13/13] selftests: Add separate option to nettest for address binding
    https://git.kernel.org/netdev/net-next/c/5265a0142f57

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html