tests: Make wpa_supplicant and hostapd executable through valgrind
It looks like valgrind could not under buildbot with the default file mode. Fix this by making wpa_supplicant and hostapd binaries readable and executable by everyone. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
789959c493
commit
d011246f79
1 changed files with 2 additions and 0 deletions
|
@ -20,8 +20,10 @@ sudo $WLANTEST -i hwsim0 -c -d > $DIR/logs/$DATE-hwsim0 &
|
||||||
sudo tcpdump -ni hwsim0 -s 2500 -w $DIR/logs/$DATE-hwsim0.dump &
|
sudo tcpdump -ni hwsim0 -s 2500 -w $DIR/logs/$DATE-hwsim0.dump &
|
||||||
if [ "x$VALGRIND" = "xy" ]; then
|
if [ "x$VALGRIND" = "xy" ]; then
|
||||||
for i in 0 1 2; do
|
for i in 0 1 2; do
|
||||||
|
chmod a+rx $WPAS
|
||||||
sudo valgrind --log-file=$DIR/logs/$DATE-valgrind-wlan$i $WPAS -g /tmp/wpas-wlan$i -Gadmin -Dnl80211 -iwlan$i -c $DIR/p2p$i.conf -ddKt > $DIR/logs/$DATE-log$i &
|
sudo valgrind --log-file=$DIR/logs/$DATE-valgrind-wlan$i $WPAS -g /tmp/wpas-wlan$i -Gadmin -Dnl80211 -iwlan$i -c $DIR/p2p$i.conf -ddKt > $DIR/logs/$DATE-log$i &
|
||||||
done
|
done
|
||||||
|
chmod a+rx $HAPD
|
||||||
sudo valgrind --log-file=$DIR/logs/$DATE-valgrind-hostapd $HAPD -ddKt -g /var/run/hostapd-global -G admin -ddKt > $DIR/logs/$DATE-hostapd &
|
sudo valgrind --log-file=$DIR/logs/$DATE-valgrind-hostapd $HAPD -ddKt -g /var/run/hostapd-global -G admin -ddKt > $DIR/logs/$DATE-hostapd &
|
||||||
else
|
else
|
||||||
for i in 0 1 2; do
|
for i in 0 1 2; do
|
||||||
|
|
Loading…
Reference in a new issue