]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ee47d9a4588b6f26959afb12578a31c8e2f4777
tree18b16161365e44208823eb6d6a6b1f0aaea5db2a
parent0d722da641d348b82e5730c7f4188efcad657932
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