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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Apr 22 12:07:11 UTC 2019


Harald Welte has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/37/13737/1

diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 8c221dc..1992054 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -651,6 +651,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)
@@ -4666,6 +4680,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: newchange
Gerrit-Change-Id: I10cc7ed214e83b4624587c60f332034d3f19b22d
Gerrit-Change-Number: 13737
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190422/32e5bca3/attachment.htm>


More information about the gerrit-log mailing list