tests: Do not hide error return when using run-all.sh

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2013-03-09 23:29:22 +02:00
parent 2a4291ffdc
commit 89ffe06d68

View file

@ -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