selftests/bpf: fail test_tunnel.sh if subtests fail
authorStanislav Fomichev <sdf@google.com>
Fri, 24 May 2019 22:28:56 +0000 (15:28 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 28 May 2019 09:08:57 +0000 (11:08 +0200)
commit486d3f22c0cab818ba6b4324fd8eda643d5f16b2
tree390f2a320e57def8dde1a950a1ac6855bea1d06d
parent463910a5dd63655ce3bdbb9171ad40a31a044fe7
selftests/bpf: fail test_tunnel.sh if subtests fail

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 <sdf@google.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_tunnel.sh