Re: [PATCH net-next 07/12] selftests/vsock: add check_result() for pass/fail counting

From: Simon Horman

Date: Wed Oct 29 2025 - 12:59:36 EST


On Wed, Oct 22, 2025 at 06:00:11PM -0700, Bobby Eshleman wrote:
> From: Bobby Eshleman <bobbyeshleman@xxxxxxxx>
>
> Add check_result() function to reuse logic for incrementing the
> pass/fail counters. This function will get used by different callers as
> we add different types of tests in future patches (namely, namespace and
> non-namespace tests will be called at different places, and re-use this
> function).
>
> Signed-off-by: Bobby Eshleman <bobbyeshleman@xxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>