From: Jouni Malinen Date: Sat, 2 Nov 2013 13:39:25 +0000 (+0200) Subject: tests: Rename stop-wifi.sh to stop.sh X-Git-Tag: hostap_2_1~670 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f01edbcfaca9b24bf1dccf971ad6ff69b0b28c39;p=thirdparty%2Fhostap.git tests: Rename stop-wifi.sh to stop.sh This makes script naming more consistent with start.sh. Signed-hostap: Jouni Malinen --- diff --git a/tests/hwsim/README b/tests/hwsim/README index f4e4a9060..9bfe48ef0 100644 --- a/tests/hwsim/README +++ b/tests/hwsim/README @@ -110,7 +110,7 @@ Simplest way to run a full set of the test cases is by running run-all.sh in tests/hwsim directory. This will use start.sh to load the mac80211_hwsim module and start wpa_supplicant, hostapd, and various test tools. run-tests.sh is then used to run through all the defined -test cases and stop-wifi.sh to stop the programs and unload the kernel +test cases and stop.sh to stop the programs and unload the kernel module. run-all.sh can be used to run the same test cases under different diff --git a/tests/hwsim/run-all.sh b/tests/hwsim/run-all.sh index 69c1ee9cd..7e6a83d9a 100755 --- a/tests/hwsim/run-all.sh +++ b/tests/hwsim/run-all.sh @@ -68,7 +68,7 @@ fi ./run-tests.py -D --logdir "$LOGDIR" $TRACE_ARGS -q $DB $CONCURRENT_TESTS $@ || errors=1 -./stop-wifi.sh +./stop.sh if [ ! -z "$VALGRIND" ] ; then failures=`grep "ERROR SUMMARY" $LOGDIR/valgrind-* | grep -v " 0 errors" | wc -l` diff --git a/tests/hwsim/start.sh b/tests/hwsim/start.sh index f875010bf..02d99bf94 100755 --- a/tests/hwsim/start.sh +++ b/tests/hwsim/start.sh @@ -50,7 +50,7 @@ else TRACE="" fi -$DIR/stop-wifi.sh +$DIR/stop.sh test -f /proc/modules && sudo modprobe mac80211_hwsim radios=5 if [ "$CONCURRENT" = "y" ]; then sudo iw wlan0 interface add sta0 type station diff --git a/tests/hwsim/stop-wifi.sh b/tests/hwsim/stop.sh similarity index 100% rename from tests/hwsim/stop-wifi.sh rename to tests/hwsim/stop.sh