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/.
dexter gerrit-no-reply at lists.osmocom.orgdexter has uploaded this change for review. ( https://gerrit.osmocom.org/13351 Change subject: MSC_Tests: add testcase TC_sgsap_impl_imsi_det_noneps ...................................................................... MSC_Tests: add testcase TC_sgsap_impl_imsi_det_noneps We have a testcase that sends an explicit (UE-Initiated) imsi detach from non EPS services. Lets also cover the case for an implicit (Network-initated) detach. Change-Id: I76049e6717680c54c18f97b7cd51944901a81ae7 Related OS#3614 --- M msc/MSC_Tests.ttcn 1 file changed, 26 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/51/13351/1 diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn index 6b2b259..f35e590 100644 --- a/msc/MSC_Tests.ttcn +++ b/msc/MSC_Tests.ttcn @@ -3837,6 +3837,31 @@ vc_conn.done; } +private function f_tc_sgsap_impl_imsi_det_noneps(charstring id, BSC_ConnHdlrPars pars) +runs on BSC_ConnHdlr { + f_init_handler(pars); + f_sgs_perform_lu(); + f_sleep(3.0); + + var octetstring mme_name := f_enc_dns_hostname(mp_mme_name); + SGsAP.send(ts_SGsAP_IMSI_DETACH_IND(g_pars.imsi, mme_name, implicit_network_initiated)); + SGsAP.receive(tr_SGsAP_IMSI_DETACH_ACK(g_pars.imsi)); + f_ctrl_get_exp(IPA_CTRL, "fsm.SGs-UE.id.imsi:" & hex2str(g_pars.imsi) & ".state", "SGs-NULL"); + /* FIXME: How to verify that VLR has removed MM context? */ + + f_sgsap_bssmap_screening(); + + setverdict(pass); +} +testcase TC_sgsap_impl_imsi_det_noneps() runs on MTC_CT { + var BSC_ConnHdlrPars pars; + var BSC_ConnHdlr vc_conn; + f_init(1, true); + pars := f_init_pars(11815, true); + vc_conn := f_start_handler_with_pars(refers(f_tc_sgsap_impl_imsi_det_noneps), pars); + vc_conn.done; +} + /* Trigger a paging request via VTY and send a paging reject in response */ private function f_tc_sgsap_paging_rej(charstring id, BSC_ConnHdlrPars pars) runs on BSC_ConnHdlr { @@ -4632,6 +4657,7 @@ execute( TC_sgsap_lu_and_nothing() ); execute( TC_sgsap_expl_imsi_det_eps() ); execute( TC_sgsap_expl_imsi_det_noneps() ); + execute( TC_sgsap_impl_imsi_det_noneps() ); execute( TC_sgsap_paging_rej() ); execute( TC_sgsap_paging_subscr_rej() ); execute( TC_sgsap_paging_ue_unr() ); -- To view, visit https://gerrit.osmocom.org/13351 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: I76049e6717680c54c18f97b7cd51944901a81ae7 Gerrit-Change-Number: 13351 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190321/5a2f4167/attachment.htm>