tests: Silence chmod errors
These will fail if used on a readonly file system and are only needed for valgrind runs. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f72434b43e
commit
3b464a3c21
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ if [ "$1" = "valgrind" ]; then
|
||||||
VALGRIND=y
|
VALGRIND=y
|
||||||
VALGRIND_WPAS="valgrind --log-file=$LOGDIR/$DATE-valgrind-wlan%d"
|
VALGRIND_WPAS="valgrind --log-file=$LOGDIR/$DATE-valgrind-wlan%d"
|
||||||
VALGRIND_HAPD="valgrind --log-file=$LOGDIR/$DATE-valgrind-hostapd"
|
VALGRIND_HAPD="valgrind --log-file=$LOGDIR/$DATE-valgrind-hostapd"
|
||||||
chmod a+rx $WPAS
|
chmod -f a+rx $WPAS
|
||||||
chmod a+rx $HAPD
|
chmod -f a+rx $HAPD
|
||||||
shift
|
shift
|
||||||
else
|
else
|
||||||
unset VALGRIND
|
unset VALGRIND
|
||||||
|
|
Loading…
Add table
Reference in a new issue