aboutsummaryrefslogtreecommitdiffstats
path: root/bsc
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-02-23 13:48:48 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2018-02-23 13:53:46 +0100
commit8c04b0aa32827cdeca7fe4936360488103ad9d88 (patch)
tree4a954842aeee80bf88c27a9aee998580e15f3e65 /bsc
parentcbc947f709ff41b318a04af4b9fc7da1deb6305c (diff)
bsc: fix testcase TC_paging_imsi_nochan
The testcase TC_paging_imsi_nochan assumes that a paging for no channel, with no specifc cell associated and without TMSI is illegal. This is not correct. All these fields have legal values and the TMSI field is optional. - Replace the testcase implementation, use f_pageing_helper() to create the paging. Change-Id: I6a56fb0ee06ae7e72a7ac2b6b058ad54f94127ab
Diffstat (limited to 'bsc')
-rw-r--r--bsc/BSC_Tests.ttcn26
1 files changed, 1 insertions, 25 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index cc7294af..347380a6 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -1007,31 +1007,7 @@ const BtsIdList c_BtsId_LAC2 := { 2 };
testcase TC_paging_imsi_nochan() runs on test_CT {
var BSSMAP_FIELD_CellIdentificationList cid_list;
cid_list := valueof(ts_BSSMAP_CIL_noCell);
- var integer i;
-
- f_init();
-
- /* Clear the queue, it might still contain stuff like BCCH FILLING */
- for (i := 0; i < NUM_BTS; i := i + 1) {
- IPA_RSL[i].clear;
- }
-
- f_bssap_tx_ud(ts_BSSMAP_Paging('001010123456789'H, cid_list, omit, omit));
-
- /* wait for some time until when paging messages would appear */
- f_sleep(3.0);
-
- for (i := 0; i < NUM_BTS; i := i + 1) {
- timer T := 0.01;
- T.start;
- alt {
- [] IPA_RSL[i].receive(tr_ASP_RSL_UD(IPAC_PROTO_RSL_TRX0, tr_RSL_PAGING_CMD(?))) {
- setverdict(fail, "Received unexpected paging");
- }
- [] T.timeout {}
- }
- }
- setverdict(pass);
+ f_pageing_helper('001010100000001'H, cid_list, c_BtsId_all, omit, omit);
}
/* PAGING by IMSI + TMSI */