Re: [PATCH v5 3/3] vsock/test: verify socket options after setting them

2024-11-12 Thread Stefano Garzarella
On Tue, Nov 12, 2024 at 09:18:48AM -0600, Konstantin Shkolnyy wrote: On 11/12/2024 02:58, Stefano Garzarella wrote: On Thu, Nov 07, 2024 at 07:17:26PM -0600, Konstantin Shkolnyy wrote: Replace setsockopt() calls with calls to functions that follow setsockopt() with getsockopt() and check that t

Re: [PATCH v5 3/3] vsock/test: verify socket options after setting them

2024-11-12 Thread Konstantin Shkolnyy
On 11/12/2024 02:58, Stefano Garzarella wrote: On Thu, Nov 07, 2024 at 07:17:26PM -0600, Konstantin Shkolnyy wrote: 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. Signed-

Re: [PATCH v5 3/3] vsock/test: verify socket options after setting them

2024-11-12 Thread Stefano Garzarella
On Thu, Nov 07, 2024 at 07:17:26PM -0600, Konstantin Shkolnyy wrote: 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. Signed-off-by: Konstantin Shkolnyy --- tools/testing/v

[PATCH v5 3/3] vsock/test: verify socket options after setting them

2024-11-07 Thread Konstantin Shkolnyy
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. Signed-off-by: Konstantin Shkolnyy --- tools/testing/vsock/Makefile | 8 +- tools/testing/vsock/control.c