summaryrefslogtreecommitdiffstats
path: root/msc/MSC_Tests.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-04-21 22:03:37 +0200
committerHarald Welte <laforge@gnumonks.org>2019-04-25 20:06:50 +0000
commit8a397ae7ba029418c670348375a5795e38d93923 (patch)
treeec61146c2b6c0694172dd79c38505bee406b73f2 /msc/MSC_Tests.ttcn
parentc1f937a15ba010c62335aef3ab7bf334e861cc8c (diff)
msc: Add testcase for UMTS AKA over GERAN TC_lu_imsi_auth3g_tmsi()
Diffstat (limited to 'msc/MSC_Tests.ttcn')
-rw-r--r--msc/MSC_Tests.ttcn15
1 files changed, 15 insertions, 0 deletions
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 7d9c098..9a37fb0 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -652,6 +652,20 @@ testcase TC_lu_imsi_auth_tmsi() runs on MTC_CT {
vc_conn.done;
}
+private function f_tc_lu_imsi_auth3g_tmsi(charstring id, BSC_ConnHdlrPars pars) runs on BSC_ConnHdlr {
+ pars.net.expect_auth := true;
+ pars.use_umts_aka := true;
+ f_init_handler(pars);
+ f_perform_lu();
+}
+testcase TC_lu_imsi_auth3g_tmsi() runs on MTC_CT {
+ var BSC_ConnHdlr vc_conn;
+ f_init();
+ f_vty_config(MSCVTY, "network", "authentication required");
+
+ vc_conn := f_start_handler(refers(f_tc_lu_imsi_auth3g_tmsi), 1005);
+ vc_conn.done;
+}
/* Send CM SERVICE REQ for IMSI that has never performed LU before */
private function f_tc_cmserv_imsi_unknown(charstring id, BSC_ConnHdlrPars pars)
@@ -4667,6 +4681,7 @@ control {
execute( TC_lu_imsi_reject() );
execute( TC_lu_imsi_timeout_gsup() );
execute( TC_lu_imsi_auth_tmsi() );
+ execute( TC_lu_imsi_auth3g_tmsi() );
execute( TC_cmserv_imsi_unknown() );
execute( TC_lu_and_mo_call() );
execute( TC_lu_auth_sai_timeout() );