Change in osmo-ttcn3-hacks[master]: gbproxy: Add testcase for MS-REGISTRATION ENQUIRY

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
Sat Jan 16 22:07:44 UTC 2021


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

Change subject: gbproxy: Add testcase for MS-REGISTRATION ENQUIRY
......................................................................

gbproxy: Add testcase for MS-REGISTRATION ENQUIRY

The test case fails with current master, as osmo-gbproxy doesn't handle
this yet.

Change-Id: I158dfa729315a9678a7fbb33ed465b73dfc9ec4b
---
M gbproxy/GBProxy_Tests.ttcn
1 file changed, 15 insertions(+), 0 deletions(-)

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



diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn
index ad95bff..dc5756c 100644
--- a/gbproxy/GBProxy_Tests.ttcn
+++ b/gbproxy/GBProxy_Tests.ttcn
@@ -2565,7 +2565,21 @@
 	f_cleanup();
 }
 
+/***********************************************************************
+ * MS-REGISTRATION ENQUIRY procedure
+ ***********************************************************************/
 
+private function f_TC_ms_reg_enq(charstring id) runs on BSSGP_ConnHdlr
+{
+	f_pcu2sgsn(ts_BSSGP_MS_REG_ENQ(g_pars.imsi), tr_BSSGP_MS_REG_ENQ(g_pars.imsi), use_sig := true);
+	f_sgsn2pcu(ts_BSSGP_MS_REW_ENQ_RESP(g_pars.imsi, omit), tr_BSSGP_MS_REW_ENQ_RESP(g_pars.imsi, omit), use_sig := true);
+}
+testcase TC_ms_reg_enq() runs on test_CT
+{
+	f_init();
+	f_start_handlers(refers(f_TC_ms_reg_enq), testcasename(), 22);
+	f_cleanup();
+}
 
 control {
 	execute( TC_BVC_bringup() );
@@ -2638,6 +2652,7 @@
 	execute( TC_flush_ll() );
 	execute( TC_fc_bvc() );
 	execute( TC_fc_ms() );
+	execute( TC_ms_reg_enq() );
 }
 
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22245
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: I158dfa729315a9678a7fbb33ed465b73dfc9ec4b
Gerrit-Change-Number: 22245
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
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/20210116/158be19a/attachment.htm>


More information about the gerrit-log mailing list