Commit 86814d8f authored by Konstantin Shkolnyy's avatar Konstantin Shkolnyy Committed by Paolo Abeni
Browse files

vsock/test: verify socket options after setting them



Replace setsockopt() calls with calls to functions that follow
setsockopt() with getsockopt() and check that the returned value and its
size are the same as have been set. (Except in vsock_perf.)

Signed-off-by: default avatarKonstantin Shkolnyy <kshk@linux.ibm.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 3f36ee29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment