test/vsock: add big message test
authorArseniy Krasnov <AVKrasnov@sberdevices.ru>
Tue, 10 Jan 2023 10:17:02 +0000 (10:17 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 12 Jan 2023 11:53:54 +0000 (12:53 +0100)
commit685a21c314a8aec3549f25cb3f9d872e92245210
treec0af646cc9b9754585ca7520910311493f65b785
parent5c338112e48ab1937f99e4a8990a82c999fda126
test/vsock: add big message test

This adds test for sending message, bigger than peer's buffer size.
For SOCK_SEQPACKET socket it must fail, as this type of socket has
message size limit.

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