]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Remove duplicated mkdir for LOGDIR
authorJouni Malinen <j@w1.fi>
Sat, 9 Nov 2013 13:34:29 +0000 (15:34 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 9 Nov 2013 13:34:29 +0000 (15:34 +0200)
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>

tests/hwsim/start.sh

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