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(-) -- 2.24.3 (Apple Git-128)