tests: Verify RADIUS server MIB values

Enable hostapd control interface for the RADIUS server instance and
verify that the RADIUS server MIB counters are incremented.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-02-15 15:57:21 +02:00
parent 4287bb76bf
commit 4fcee244b9
5 changed files with 32 additions and 8 deletions

View file

@ -19,7 +19,7 @@ if grep -q hwsim0 /proc/net/dev; then
sudo ifconfig hwsim0 down
fi
killall -q hlr_auc_gw
sudo killall -q hlr_auc_gw
if [ "$RUNNING" = "yes" ]; then
# give some time for hostapd and wpa_supplicant to complete deinit
@ -38,7 +38,7 @@ if pidof wpa_supplicant hostapd hlr_auc_gw > /dev/null; then
echo "wpa_supplicant/hostapd/hlr_auc_gw did not exit - try to force them to die"
sudo killall -9 -q hostapd
sudo killall -9 -q wpa_supplicant
killall -9 -q hlr_auc_gw
sudo killall -9 -q hlr_auc_gw
for i in `seq 1 5`; do
if pidof wpa_supplicant hostapd hlr_auc_gw > /dev/null; then
echo "Waiting for processes to exit (2)"