Skip to content

selftests: Updates to allow single instance of nettest for client and server

David Ahern netdev 4 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest13 patches 0 repliesApplied 13/13
  2. v313 patches 2 repliesSuperseded
  3. v211 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v111 patches5 repliesSuperseded

Patches in v4 All 13 applied

#Subject and filesSizeRepliesApplied
1/13selftests: Move device validation in nettesttools/testing/selftests/net/nettest.c+42 -220 repliesApplied
2/13selftests: Move convert_addr up in nettesttools/testing/selftests/net/nettest.c+126 -1260 repliesApplied
3/13selftests: Move address validation in nettesttools/testing/selftests/net/nettest.c+43 -170 repliesApplied
4/13selftests: Add options to set network namespace to nettesttools/testing/selftests/net/nettest.c+55 -10 repliesApplied
5/13selftests: Add support to nettest to run both client and servertools/testing/selftests/net/nettest.c+85 -80 repliesApplied
6/13selftests: Use separate stdout and stderr buffers in nettesttools/testing/selftests/net/nettest.c+20 -10 repliesApplied
7/13selftests: Add missing newline in nettest error messagestools/testing/selftests/net/nettest.c+6 -80 repliesApplied
8/13selftests: Make address validation apply only to client modetools/testing/selftests/net/nettest.c+6 -00 repliesApplied
9/13selftests: Consistently specify address for MD5 protectiontools/testing/selftests/net/fcnal-test.sh tools/testing/selftests/net/nettest.c+33 -330 repliesApplied
10/13selftests: Add new option for client-side passwordstools/testing/selftests/net/fcnal-test.sh tools/testing/selftests/net/nettest.c+52 -450 repliesApplied
11/13selftests: Add separate options for server device bindingstools/testing/selftests/net/fcnal-test.sh tools/testing/selftests/net/nettest.c+154 -1420 repliesApplied
12/13selftests: Remove exraneous newline in nettesttools/testing/selftests/net/nettest.c+0 -10 repliesApplied
13/13selftests: Add separate option to nettest for address bindingtools/testing/selftests/net/fcnal-test.sh tools/testing/selftests/net/nettest.c+15 -80 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

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

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(-)
Signature · 1 line
2.24.3 (Apple Git-128)