hwsim tests: Silence chown warnings
If running in a VM with the logs going to a host filesystem chown isn't actually possible, silence any warnings from it. Signed-hostap: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
044dd1c267
commit
e8e238c436
1 changed files with 2 additions and 2 deletions
|
@ -65,9 +65,9 @@ done
|
||||||
sudo $VALGRIND_HAPD $HAPD -ddKt$TRACE -g /var/run/hostapd-global -G $GROUP -ddKt > $LOGDIR/hostapd &
|
sudo $VALGRIND_HAPD $HAPD -ddKt$TRACE -g /var/run/hostapd-global -G $GROUP -ddKt > $LOGDIR/hostapd &
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
sudo chown $USER $LOGDIR/hwsim0.dump
|
sudo chown -f $USER $LOGDIR/hwsim0.dump
|
||||||
if [ "x$VALGRIND" = "xy" ]; then
|
if [ "x$VALGRIND" = "xy" ]; then
|
||||||
sudo chown $USER $LOGDIR/*valgrind*
|
sudo chown -f $USER $LOGDIR/*valgrind*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x $HLR_AUC_GW ]; then
|
if [ -x $HLR_AUC_GW ]; then
|
||||||
|
|
Loading…
Reference in a new issue