diff options
author | Harald Welte <laforge@osmocom.org> | 2021-01-16 18:57:49 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2021-01-16 22:54:29 +0100 |
commit | d6f8981401173e96e81193438d7cba284f17de97 (patch) | |
tree | be4cfecaafa6f50df3c0cb4d42e4fda4aaa219ce /gbproxy | |
parent | 7595d5682bad5c6fc487309b7f43e7fa3c4f20a5 (diff) |
gbproxy: Add testcase for MS-REGISTRATION ENQUIRY
The test case fails with current master, as osmo-gbproxy doesn't handle
this yet.
Change-Id: I158dfa729315a9678a7fbb33ed465b73dfc9ec4b
Diffstat (limited to 'gbproxy')
-rw-r--r-- | gbproxy/GBProxy_Tests.ttcn | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn index ad95bff2..dc5756ce 100644 --- a/gbproxy/GBProxy_Tests.ttcn +++ b/gbproxy/GBProxy_Tests.ttcn @@ -2565,7 +2565,21 @@ testcase TC_fc_ms() runs on test_CT f_cleanup(); } +/*********************************************************************** + * MS-REGISTRATION ENQUIRY procedure + ***********************************************************************/ +private function f_TC_ms_reg_enq(charstring id) runs on BSSGP_ConnHdlr +{ + f_pcu2sgsn(ts_BSSGP_MS_REG_ENQ(g_pars.imsi), tr_BSSGP_MS_REG_ENQ(g_pars.imsi), use_sig := true); + f_sgsn2pcu(ts_BSSGP_MS_REW_ENQ_RESP(g_pars.imsi, omit), tr_BSSGP_MS_REW_ENQ_RESP(g_pars.imsi, omit), use_sig := true); +} +testcase TC_ms_reg_enq() runs on test_CT +{ + f_init(); + f_start_handlers(refers(f_TC_ms_reg_enq), testcasename(), 22); + f_cleanup(); +} control { execute( TC_BVC_bringup() ); @@ -2638,6 +2652,7 @@ control { execute( TC_flush_ll() ); execute( TC_fc_bvc() ); execute( TC_fc_ms() ); + execute( TC_ms_reg_enq() ); } |