Re: [PATCH bpf-next v4 1/5] selftests/bpf: test_sockmap, check test failure
From: John Fastabend <john.fastabend@gmail.com>
Date: 2018-06-01 14:04:56
Also in:
linux-kselftest
From: John Fastabend <john.fastabend@gmail.com>
Date: 2018-06-01 14:04:56
Also in:
linux-kselftest
On 05/30/2018 09:42 PM, Prashant Bhole wrote:
Test failures are not identified because exit code of RX/TX threads
is not checked. Also threads are not returning correct exit code.
- Return exit code from threads depending on test execution status
- In main thread, check the exit code of RX/TX threads
- Skip error checking for corked tests as they are expected to timeout
Fixes: 16962b2404ac ("bpf: sockmap, add selftests")
Signed-off-by: Prashant Bhole <redacted>
---Acked-by: John Fastabend <john.fastabend@gmail.com>