]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: Use separate stdout and stderr buffers in nettest
authorDavid Ahern <dsahern@gmail.com>
Thu, 14 Jan 2021 03:09:42 +0000 (20:09 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 00:26:48 +0000 (16:26 -0800)
commit1e56155393f11fa4076fc07f4ae9b3ff9a065337
tree987a8020d23cbd74b9cd07e538d72696af4af19e
parent906264044c7eabb3ae2459f331279d7913cfe6fe
selftests: Use separate stdout and stderr buffers in nettest

When a single instance of nettest is doing both client and
server modes, stdout and stderr messages can get interlaced
and become unreadable. Allocate a new set of buffers for the
child process handling server mode.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/nettest.c