af_vsock: SOCK_SEQPACKET receive timeout test
authorKrasnov Arseniy Vladimirovich <AVKrasnov@sberdevices.ru>
Thu, 17 Mar 2022 08:31:49 +0000 (08:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Mar 2022 15:13:18 +0000 (15:13 +0000)
commitefb3719f4ab0c4646ce2fe16c610e6a9bb0e1b08
tree322f791f5caeaf1fe67066009e17b6431da909ec
parentdca51fe7fbb11909cd80e81714f6de4515123a64
af_vsock: SOCK_SEQPACKET receive timeout test

Test for receive timeout check: connection is established,
receiver sets timeout, but sender does nothing. Receiver's
'read()' call must return EAGAIN.

Signed-off-by: Krasnov Arseniy Vladimirovich <AVKrasnov@sberdevices.ru>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/vsock/vsock_test.c