tests: Do not hide error return when using run-all.sh
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
2a4291ffdc
commit
89ffe06d68
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
errors=0
|
||||||
./start-p2p.sh
|
./start-p2p.sh
|
||||||
./run-p2p-tests.py
|
./run-p2p-tests.py || errors=1
|
||||||
./stop-wifi.sh
|
./stop-wifi.sh
|
||||||
|
if [ $errors -gt 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue