hostap/tests/hwsim/run-all.sh
Jouni Malinen fcbccf1aae tests: Set umask to avoid unexpected issues with hostapd sockets
buildbot seems to be running with more limited umask by default and that
prevented the hostapd per-interface socket from being accessed.

Signed-hostap: Jouni Malinen <j@w1.fi>
2013-03-30 11:11:55 +02:00

13 lines
177 B
Bash
Executable file

#!/bin/sh
errors=0
umask 0002
./start-p2p.sh
./run-p2p-tests.py || errors=1
./start-ap.sh
./run-ap-tests.py || errors=1
./stop-wifi.sh
if [ $errors -gt 0 ]; then
exit 1
fi