]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc988967ebb093dbbc6c89b3a0599a2844ea50080
tree390f2a320e57def8dde1a950a1ac6855bea1d06d
parentefb1fa099dc9db5df9b4201adb123fb738760464
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