From: Jouni Malinen Date: Sat, 9 Mar 2013 21:29:22 +0000 (+0200) Subject: tests: Do not hide error return when using run-all.sh X-Git-Tag: aosp-kk-from-upstream~491 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ffe06d6836e13229095634ce4c20166ee5103a;p=thirdparty%2Fhostap.git tests: Do not hide error return when using run-all.sh Signed-hostap: Jouni Malinen --- diff --git a/tests/hwsim/run-all.sh b/tests/hwsim/run-all.sh index 9893603e3..51f34cf14 100755 --- a/tests/hwsim/run-all.sh +++ b/tests/hwsim/run-all.sh @@ -1,5 +1,9 @@ #!/bin/sh +errors=0 ./start-p2p.sh -./run-p2p-tests.py +./run-p2p-tests.py || errors=1 ./stop-wifi.sh +if [ $errors -gt 0 ]; then + exit 1 +fi