Change in osmo-ttcn3-hacks[master]: msc: Add testcase for UMTS AKA over GERAN TC_lu_imsi_auth3g_tmsi()

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Apr 25 20:06:51 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13737 )

Change subject: msc: Add testcase for UMTS AKA over GERAN TC_lu_imsi_auth3g_tmsi()
......................................................................

msc: Add testcase for UMTS AKA over GERAN TC_lu_imsi_auth3g_tmsi()

Change-Id: I10cc7ed214e83b4624587c60f332034d3f19b22d
---
M msc/MSC_Tests.ttcn
1 file changed, 15 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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 @@
 	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 @@
 	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() );

-- 
To view, visit https://gerrit.osmocom.org/13737
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I10cc7ed214e83b4624587c60f332034d3f19b22d
Gerrit-Change-Number: 13737
Gerrit-PatchSet: 3
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190425/5a293903/attachment.html>


More information about the gerrit-log mailing list