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:
Johannes Berg 2013-10-30 23:16:05 +01:00 committed by Jouni Malinen
parent 044dd1c267
commit e8e238c436

View file

@ -65,9 +65,9 @@ done
sudo $VALGRIND_HAPD $HAPD -ddKt$TRACE -g /var/run/hostapd-global -G $GROUP -ddKt > $LOGDIR/hostapd &
sleep 1
sudo chown $USER $LOGDIR/hwsim0.dump
sudo chown -f $USER $LOGDIR/hwsim0.dump
if [ "x$VALGRIND" = "xy" ]; then
sudo chown $USER $LOGDIR/*valgrind*
sudo chown -f $USER $LOGDIR/*valgrind*
fi
if [ -x $HLR_AUC_GW ]; then