]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
tests/tests.sh: If the first test fails abort.
authorSimon Ruderich <simon@ruderich.org>
Sat, 17 Sep 2011 20:07:20 +0000 (22:07 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 17 Sep 2011 20:07:20 +0000 (22:07 +0200)
A failure in the first test was ignored until now!

tests/tests.sh

index a7b940ab348ba306c5bc7317f505cf5fcf421df0..6848f34bd957c0da7db489d68c2894a00a548665 100755 (executable)
@@ -22,9 +22,9 @@
 [ "x$srcdir" = x ] && srcdir=.
 
 echo "RUNNING NORMAL TESTS"
-$srcdir/tests-normal.sh
+$srcdir/tests-normal.sh || exit 1
 
 echo
 
 echo "RUNNING PASSTHROUGH (-u) TESTS"
-$srcdir/tests-passthrough.sh
+$srcdir/tests-passthrough.sh || exit 1