Change in osmo-ttcn3-hacks[master]: MSC/Iu: fix SS/USSD tests: pass g_pars.tmsi to f_ran_register_imsi()

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/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Jan 10 16:03:28 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16783 )

Change subject: MSC/Iu: fix SS/USSD tests: pass g_pars.tmsi to f_ran_register_imsi()
......................................................................

MSC/Iu: fix SS/USSD tests: pass g_pars.tmsi to f_ran_register_imsi()

Makes both TC_iu_proc_ss_abort and TC_iu_proc_ss_paging_fail pass.

Change-Id: If7d58cb50d2810975bd547e4e828783b0255d809
---
M msc/MSC_Tests.ttcn
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 508acdd..529a396 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -3504,7 +3504,7 @@
 runs on BSC_ConnHdlr {
 	f_init_handler(pars);
 
-	f_ran_register_imsi(g_pars.imsi, 'FFFFFFFF'O);
+	f_ran_register_imsi(g_pars.imsi, g_pars.tmsi);
 	f_create_gsup_expect(hex2str(g_pars.imsi));
 
 	/* Perform location update */
@@ -3568,7 +3568,7 @@
 	/* Perform location update */
 	f_perform_lu();
 
-	f_ran_register_imsi(g_pars.imsi, 'FFFFFFFF'O);
+	f_ran_register_imsi(g_pars.imsi, g_pars.tmsi);
 	f_create_gsup_expect(hex2str(g_pars.imsi));
 
 	/* Request referencing a non-existing SS session */
@@ -3610,7 +3610,7 @@
 	/* Perform location update */
 	f_perform_lu();
 
-	f_ran_register_imsi(g_pars.imsi, 'FFFFFFFF'O);
+	f_ran_register_imsi(g_pars.imsi, g_pars.tmsi);
 	f_create_gsup_expect(hex2str(g_pars.imsi));
 
 	var template (value) GSUP_PDU gsup_req := ts_GSUP_PROC_SS_REQ(
@@ -3670,7 +3670,7 @@
 	/* Perform location update */
 	f_perform_lu();
 
-	f_ran_register_imsi(g_pars.imsi, 'FFFFFFFF'O);
+	f_ran_register_imsi(g_pars.imsi, g_pars.tmsi);
 	f_create_gsup_expect(hex2str(g_pars.imsi));
 
 	/* PROC_SS_REQ initiates a mobile-originated SS/USSD session */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16783
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: If7d58cb50d2810975bd547e4e828783b0255d809
Gerrit-Change-Number: 16783
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200110/37d2ced3/attachment.htm>


More information about the gerrit-log mailing list