vsock_test: add SOCK_STREAM MSG_PEEK test
authorStefano Garzarella <sgarzare@redhat.com>
Wed, 18 Dec 2019 18:07:08 +0000 (19:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Dec 2019 05:09:21 +0000 (21:09 -0800)
commitd6269a93ffc37effac85903122023a251dfa4aca
treee713739bb0c3b32de1243af6c673acbe5478c658
parent8d00b93fece1cc3547a53abd6ef3358d23ff4d25
vsock_test: add SOCK_STREAM MSG_PEEK test

Test if the MSG_PEEK flags of recv(2) works as expected.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/vsock/vsock_test.c