tests: Update hlr_auc_gw Milenage file
authorJouni Malinen <j@w1.fi>
Sun, 30 Mar 2014 13:25:27 +0000 (16:25 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 30 Mar 2014 14:06:34 +0000 (17:06 +0300)
This increases hlr_auc_gw.c test coverage and allows the SQN updated to
be checked if desired.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/start.sh

index cebbfad..8421f03 100755 (executable)
@@ -83,7 +83,8 @@ if [ "x$VALGRIND" = "xy" ]; then
 fi
 
 if [ -x $HLR_AUC_GW ]; then
-    sudo $HLR_AUC_GW -m $DIR/auth_serv/hlr_auc_gw.milenage_db -g $DIR/auth_serv/hlr_auc_gw.gsm > $LOGDIR/hlr_auc_gw &
+    cp $DIR/auth_serv/hlr_auc_gw.milenage_db $LOGDIR/hlr_auc_gw.milenage_db
+    sudo $HLR_AUC_GW -u -m $LOGDIR/hlr_auc_gw.milenage_db -g $DIR/auth_serv/hlr_auc_gw.gsm > $LOGDIR/hlr_auc_gw &
 fi
 
 sudo $HAPD_AS -ddKt $LOGDIR/as.conf > $LOGDIR/auth_serv &