tests: Remove duplicated mkdir for LOGDIR

LOGDIR directory is created automatically if LOGDIR variable was not
set. If the variable is set, that directory is expected to exist.

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2013-11-09 15:34:29 +02:00
parent d65a593b1e
commit b4b89ae3aa

View file

@ -62,7 +62,6 @@ if [ "$CONCURRENT" = "y" ]; then
sudo iw wlan1 interface add sta1 type station sudo iw wlan1 interface add sta1 type station
sudo iw wlan2 interface add sta2 type station sudo iw wlan2 interface add sta2 type station
fi fi
mkdir -p $LOGDIR
sudo ifconfig hwsim0 up sudo ifconfig hwsim0 up
sudo $WLANTEST -i hwsim0 -n $LOGDIR/hwsim0.pcapng -c -d > $LOGDIR/hwsim0 & sudo $WLANTEST -i hwsim0 -n $LOGDIR/hwsim0.pcapng -c -d > $LOGDIR/hwsim0 &
for i in 0 1 2; do for i in 0 1 2; do