On 05/29/2018 10:56 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 <bhole_prashant...@lab.ntt.co.jp> > --- > tools/testing/selftests/bpf/test_sockmap.c | 25 ++++++++++++++++------ > 1 file changed, 19 insertions(+), 6 deletions(-) >
Looks good. Thanks. Acked-by: John Fastabend <john.fastab...@gmail.com>