]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Do not hide error return when using run-all.sh
authorJouni Malinen <j@w1.fi>
Sat, 9 Mar 2013 21:29:22 +0000 (23:29 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 9 Mar 2013 21:29:22 +0000 (23:29 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>

tests/hwsim/run-all.sh

index 9893603e34bb17b2ef74bf763aa79f893bfee1e0..51f34cf140a6509ea0614b008bada374dfc78cdc 100755 (executable)
@@ -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