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/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has submitted this change and it was merged. ( https://gerrit.osmocom.org/10387 )
Change subject: sgsn: introduce TC_attach_rau_a_b
......................................................................
sgsn: introduce TC_attach_rau_a_b
MS <-> SGSN: Successful Attach
MS -> SGSN: Routing Area _a_ Update Request
MS <- SGSN: Routing Area _a_ Update Accept
MS -> SGSN: Routing Area _b_ Update Request
MS <- SGSN: Routing Area _b_ Update Accept
MS -> SGSN: Detach (PowerOff)
Change-Id: Ie636778628c216e315bd6f5bc11e0e5bd9c218a5
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 34 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
Harald Welte: Looks good to me, approved
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 497e45f..edc19bc 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -1899,6 +1899,39 @@
vc_conn.done;
}
+private function f_TC_attach_rau_a_b(charstring id) runs on BSSGP_ConnHdlr {
+ var BssgpDecoded bd;
+
+ f_TC_attach(id);
+
+ log("attach complete sending rau");
+ f_routing_area_update(g_pars.ra, 0);
+
+ log("rau complete unregistering");
+ f_bssgp_client_unregister(g_pars.imsi);
+ f_bssgp_client_register(g_pars.imsi, g_pars.tlli, g_pars.bssgp_cell_id[1], BSSGP_PROC[1]);
+
+ log("sending second RAU via different RA");
+ f_routing_area_update(f_cellid_to_RAI(g_pars.bssgp_cell_id[1]), 1);
+
+ f_detach_mo(c_GMM_DTT_MO_GPRS, true, true, 1);
+}
+
+testcase TC_attach_rau_a_b() runs on test_CT {
+ /* MS <-> SGSN: Successful Attach
+ * MS -> SGSN: Routing Area _a_ Update Request
+ * MS <- SGSN: Routing Area _a_ Update Accept
+ * MS -> SGSN: Routing Area _b_ Update Request
+ * MS <- SGSN: Routing Area _b_ Update Accept
+ * MS -> SGSN: Detach (PowerOff)
+ */
+ var BSSGP_ConnHdlr vc_conn;
+ f_init();
+ f_sleep(1.0);
+ vc_conn := f_start_handler(refers(f_TC_attach_rau_a_b), testcasename(), g_gb, 38);
+ vc_conn.done;
+}
+
control {
execute( TC_attach() );
execute( TC_attach_mnc3() );
@@ -1925,6 +1958,7 @@
execute( TC_rau_unknown() );
execute( TC_attach_rau() );
execute( TC_attach_rau_a_a() );
+ execute( TC_attach_rau_a_b() );
execute( TC_detach_unknown_nopoweroff() );
execute( TC_detach_unknown_poweroff() );
execute( TC_detach_nopoweroff() );
--
To view, visit https://gerrit.osmocom.org/10387
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: Ie636778628c216e315bd6f5bc11e0e5bd9c218a5
Gerrit-Change-Number: 10387
Gerrit-PatchSet: 3
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180904/a3ec6ff8/attachment.htm>