vsock_test: POLLIN + SO_RCVLOWAT test
authorArseniy Krasnov <AVKrasnov@sberdevices.ru>
Fri, 19 Aug 2022 05:43:50 +0000 (05:43 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 23 Aug 2022 08:43:12 +0000 (10:43 +0200)
commitb1346338fbaefac1b796a50478f8e8070b54e9e4
tree18b16161365e44208823eb6d6a6b1f0aaea5db2a
parente061aed99855ccef2d64f5bdd66996e19d6cf60b
vsock_test: POLLIN + SO_RCVLOWAT test

This adds test to check, that when poll() returns POLLIN, POLLRDNORM bits,
next read call won't block.

Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/vsock/vsock_test.c