From: Jouni Malinen Date: Wed, 30 Oct 2013 17:55:00 +0000 (+0200) Subject: tests: Silence chmod errors X-Git-Tag: hostap_2_1~725 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b464a3c219553570590d143cdb69eed0a859fe6;p=thirdparty%2Fhostap.git 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 --- diff --git a/tests/hwsim/start.sh b/tests/hwsim/start.sh index 812ce9f20..bc96807dc 100755 --- a/tests/hwsim/start.sh +++ b/tests/hwsim/start.sh @@ -33,8 +33,8 @@ if [ "$1" = "valgrind" ]; then VALGRIND=y VALGRIND_WPAS="valgrind --log-file=$LOGDIR/$DATE-valgrind-wlan%d" VALGRIND_HAPD="valgrind --log-file=$LOGDIR/$DATE-valgrind-hostapd" - chmod a+rx $WPAS - chmod a+rx $HAPD + chmod -f a+rx $WPAS + chmod -f a+rx $HAPD shift else unset VALGRIND