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 uploaded this change for review. ( 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(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/87/10387/1 diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index 1ee71b6..18e9c20 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -1871,6 +1871,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() ); @@ -1897,6 +1930,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: newchange Gerrit-Change-Id: Ie636778628c216e315bd6f5bc11e0e5bd9c218a5 Gerrit-Change-Number: 10387 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180807/a29e82b3/attachment.htm>