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/13988 Change subject: SGSN_Tests: add test case TC_attach_pdp_act_gmm_detach ...................................................................... SGSN_Tests: add test case TC_attach_pdp_act_gmm_detach MS -> SGSN: Attach Request MS <-> SGSN: [..] MS -> SGSN: Attach Complete MS -> SGSN: PDP Activate Request MS <- SGSN: PDP Activate Accept MS -> SGSN: GMM Detach Request MS <- SGSN: GMM Detach Accept Related-to: OS#1881 Change-Id: Ibafbbb8ed99357d1e2e13d576b2624939388e85b --- M sgsn/SGSN_Tests.ttcn 1 file changed, 26 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/88/13988/1 diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index 7c8567c..a3dbed1 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -2267,6 +2267,31 @@ vc_conn.done; } +private function f_TC_attach_pdp_act_gmm_detach(charstring id) runs on BSSGP_ConnHdlr { + var PdpActPars apars := valueof(t_PdpActPars(mp_ggsn_ip)); + + /* first perform regular attach */ + f_TC_attach(id); + /* then activate PDP context */ + f_pdp_ctx_act(apars); + /* do a normal detach */ + f_detach_mo(c_GMM_DTT_MO_GPRS, false, true); +} + +testcase TC_attach_pdp_act_gmm_detach() runs on test_CT { + /* MS -> SGSN: Attach Request + * MS <-> SGSN: [..] + * MS -> SGSN: Attach Complete + * MS -> SGSN: PDP Activate Request + * MS <- SGSN: PDP Activate Accept + * MS -> SGSN: GMM Detach Request + * MS <- SGSN: GMM Detach Accept + */ + var BSSGP_ConnHdlr vc_conn; + f_init(); + vc_conn := f_start_handler(refers(f_TC_attach_pdp_act_gmm_detach), testcasename(), g_gb, 26); + vc_conn.done; +} control { @@ -2312,6 +2337,7 @@ execute( TC_attach_restart_ctr_create() ); execute( TC_attach_pdp_act_deact_mt_t3395_expire() ); execute( TC_attach_pdp_act_user_error_ind_ggsn() ); + execute( TC_attach_pdp_act_gmm_detach() ); execute( TC_attach_gmm_attach_req_while_gmm_attach() ); execute( TC_xid_empty_l3() ); -- To view, visit https://gerrit.osmocom.org/13988 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: Ibafbbb8ed99357d1e2e13d576b2624939388e85b Gerrit-Change-Number: 13988 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/20190511/937852d3/attachment.htm>