summaryrefslogtreecommitdiffstats
path: root/bsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-07-31 16:56:02 +0200
committerlaforge <laforge@osmocom.org>2020-08-13 05:38:01 +0000
commitf5148487693e1cbf5547936d8c01f9e311b4bea6 (patch)
treeca72e4b472dd2bf23de61506b45fc390a1d42422 /bsc
parent4e63a01c6e5fd1c4905f8f0916073cae679726ea (diff)
bsc CBSP: fix TC_cbsp_write_lai
bts 2 matches the described scenario, not bts 0. Change-Id: If8408df207176704db0d0ce9d75ae13d500d31ae
Diffstat (limited to 'bsc')
-rw-r--r--bsc/BSC_Tests_CBSP.ttcn8
1 files changed, 6 insertions, 2 deletions
diff --git a/bsc/BSC_Tests_CBSP.ttcn b/bsc/BSC_Tests_CBSP.ttcn
index 20006dc..b079347 100644
--- a/bsc/BSC_Tests_CBSP.ttcn
+++ b/bsc/BSC_Tests_CBSP.ttcn
@@ -501,11 +501,15 @@ testcase TC_cbsp_write_ci() runs on cbsp_test_CT {
testcase TC_cbsp_write_lai() runs on cbsp_test_CT {
var CBSP_IEs pages := {f_gen_page()};
var template (value) BSSMAP_FIELD_CellIdentificationList cell_list;
- cell_list := ts_BSSMAP_CIL_LAI({bssmap_lai(mp_cgi_bts0)});
+ /* bts0 and bts1 have the same LAI (only differ in cell identity).
+ * bts2 and bts3 also have the same LAI, but only bts2 has a CBCH.
+ * Target only bts2.
+ */
+ cell_list := ts_BSSMAP_CIL_LAI({bssmap_lai(mp_cgi_bts2)});
f_cbsp_init_server(7001, 7501);
f_cbsp_write(g_cbsp_msg_id, g_cbsp_ser_no, cell_list, content:=pages,
success_list:=?, fail_list:=omit);
- IPA_RSL[0].receive(tr_ASP_RSL_UD(f_page2rsl(pages[0], g_cbsp_msg_id, g_cbsp_ser_no)));
+ IPA_RSL[2].receive(tr_ASP_RSL_UD(f_page2rsl(pages[0], g_cbsp_msg_id, g_cbsp_ser_no)));
f_sleep(5.0);
}