[PATCH net-next 0/2] vsock/test: improve sigpipe test reliability

Stefano Garzarella posted 2 patches 7 months, 1 week ago
There is a newer version of this series
tools/testing/vsock/vsock_test.c | 32 ++++++++++++++++++++++++--------
1 file changed, 24 insertions(+), 8 deletions(-)
[PATCH net-next 0/2] vsock/test: improve sigpipe test reliability
Posted by Stefano Garzarella 7 months, 1 week ago
Running the tests continuously I noticed that sometimes the sigpipe
test would fail due to a race between the control message of the test
and the vsock transport messages.

While I was at it I also improved the test by checking the errno we
expect.

Stefano Garzarella (2):
  vsock/test: retry send() to avoid occasional failure in sigpipe test
  vsock/test: check also expected errno on sigpipe test

 tools/testing/vsock/vsock_test.c | 32 ++++++++++++++++++++++++--------
 1 file changed, 24 insertions(+), 8 deletions(-)

-- 
2.49.0