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.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22250 ) Change subject: gbproxy: Add tests for RADIO-STATUS with TMSI and IMSI instead of TLLI ...................................................................... gbproxy: Add tests for RADIO-STATUS with TMSI and IMSI instead of TLLI Change-Id: Ib3b052a12227a8f55cf063e5168b56f97b9a8f9b Related: OS#4954 Related: OS#4951 --- M gbproxy/GBProxy_Tests.ttcn 1 file changed, 41 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/50/22250/1 diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn index 8d5609c..792d77a 100644 --- a/gbproxy/GBProxy_Tests.ttcn +++ b/gbproxy/GBProxy_Tests.ttcn @@ -1087,6 +1087,45 @@ f_cleanup(); } +private function f_TC_radio_status_tmsi(charstring id) runs on BSSGP_ConnHdlr { + var integer i; + var BssgpRadioCause cause := BSSGP_RADIO_CAUSE_CONTACT_LOST; + for (i := 0; i < 10; i := i+1) { + var integer tmsi_int := oct2int(g_pars.p_tmsi); + var template (value) PDU_BSSGP pdu_tx := ts_BSSGP_RADIO_STATUS(omit, cause, tmsi_int); + /* we cannot use pdu_tx as there are some subtle differences in the length field :/ */ + var template (present) PDU_BSSGP pdu_rx := tr_BSSGP_RADIO_STATUS(omit, cause, tmsi_int); + f_pcu2sgsn(pdu_tx, pdu_rx); + } + setverdict(pass); +} +testcase TC_radio_status_tmsi() runs on test_CT +{ + f_init(); + f_start_handlers(refers(f_TC_radio_status_tmsi), testcasename(), 5); + f_cleanup(); +} + +private function f_TC_radio_status_imsi(charstring id) runs on BSSGP_ConnHdlr { + var integer i; + var BssgpRadioCause cause := BSSGP_RADIO_CAUSE_CONTACT_LOST; + for (i := 0; i < 10; i := i+1) { + var template (value) PDU_BSSGP pdu_tx := ts_BSSGP_RADIO_STATUS(omit, cause, imsi := g_pars.imsi); + /* we cannot use pdu_tx as there are some subtle differences in the length field :/ */ + var template (present) PDU_BSSGP pdu_rx := tr_BSSGP_RADIO_STATUS(omit, cause, imsi := g_pars.imsi); + f_pcu2sgsn(pdu_tx, pdu_rx); + } + setverdict(pass); +} +testcase TC_radio_status_imsi() runs on test_CT +{ + f_init(); + f_start_handlers(refers(f_TC_radio_status_imsi), testcasename(), 5); + f_cleanup(); +} + + + private function f_suspend_one(integer sgsn_idx, integer nri_idx, integer pcu_idx, integer bvc_idx, integer suffix) runs on GlobalTest_CT @@ -2909,6 +2948,8 @@ execute( TC_ra_capability() ); execute( TC_ra_capability_upd() ); execute( TC_radio_status() ); + execute( TC_radio_status_tmsi() ); + execute( TC_radio_status_imsi() ); execute( TC_suspend() ); execute( TC_resume() ); execute( TC_trace() ); -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22250 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: Ib3b052a12227a8f55cf063e5168b56f97b9a8f9b Gerrit-Change-Number: 22250 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210117/d5466e7b/attachment.htm>