tests: Rename stop-wifi.sh to stop.sh
This makes script naming more consistent with start.sh. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
78060b25a1
commit
f01edbcfac
4 changed files with 3 additions and 3 deletions
|
@ -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
|
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
|
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 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.
|
module.
|
||||||
|
|
||||||
run-all.sh can be used to run the same test cases under different
|
run-all.sh can be used to run the same test cases under different
|
||||||
|
|
|
@ -68,7 +68,7 @@ fi
|
||||||
|
|
||||||
./run-tests.py -D --logdir "$LOGDIR" $TRACE_ARGS -q $DB $CONCURRENT_TESTS $@ || errors=1
|
./run-tests.py -D --logdir "$LOGDIR" $TRACE_ARGS -q $DB $CONCURRENT_TESTS $@ || errors=1
|
||||||
|
|
||||||
./stop-wifi.sh
|
./stop.sh
|
||||||
|
|
||||||
if [ ! -z "$VALGRIND" ] ; then
|
if [ ! -z "$VALGRIND" ] ; then
|
||||||
failures=`grep "ERROR SUMMARY" $LOGDIR/valgrind-* | grep -v " 0 errors" | wc -l`
|
failures=`grep "ERROR SUMMARY" $LOGDIR/valgrind-* | grep -v " 0 errors" | wc -l`
|
||||||
|
|
|
@ -50,7 +50,7 @@ else
|
||||||
TRACE=""
|
TRACE=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$DIR/stop-wifi.sh
|
$DIR/stop.sh
|
||||||
test -f /proc/modules && sudo modprobe mac80211_hwsim radios=5
|
test -f /proc/modules && sudo modprobe mac80211_hwsim radios=5
|
||||||
if [ "$CONCURRENT" = "y" ]; then
|
if [ "$CONCURRENT" = "y" ]; then
|
||||||
sudo iw wlan0 interface add sta0 type station
|
sudo iw wlan0 interface add sta0 type station
|
||||||
|
|
Loading…
Reference in a new issue