Re: [PATCH bpf-next] selftests/bpf: fail test_tunnel.sh if subtests fail

2019-05-28 Thread Daniel Borkmann
On 05/25/2019 12:28 AM, Stanislav Fomichev wrote: > Right now test_tunnel.sh always exits with success even if some > of the subtests fail. Since the output is very verbose, it's > hard to spot the issues with subtests. Let's fail the script > if any subtest fails. > > Signed-off-by: Stanislav Fom

Re: [PATCH bpf-next] selftests/bpf: fail test_tunnel.sh if subtests fail

2019-05-25 Thread Y Song
On Fri, May 24, 2019 at 3:29 PM Stanislav Fomichev wrote: > > Right now test_tunnel.sh always exits with success even if some > of the subtests fail. Since the output is very verbose, it's > hard to spot the issues with subtests. Let's fail the script > if any subtest fails. > > Signed-off-by: Sta

[PATCH bpf-next] selftests/bpf: fail test_tunnel.sh if subtests fail

2019-05-24 Thread Stanislav Fomichev
Right now test_tunnel.sh always exits with success even if some of the subtests fail. Since the output is very verbose, it's hard to spot the issues with subtests. Let's fail the script if any subtest fails. Signed-off-by: Stanislav Fomichev --- tools/testing/selftests/bpf/test_tunnel.sh | 32 ++