summaryrefslogtreecommitdiffstats
path: root/bts/BTS_Tests.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-03-09 22:20:26 +0100
committerHarald Welte <laforge@gnumonks.org>2018-03-12 14:29:20 +0000
commit0cae455d2c36fa0278afe33944a0980e033ee75e (patch)
treeedc9866a31ed1bf9f9bc1a311ca4bbe1e72136dd /bts/BTS_Tests.ttcn
parent370527372da68a602bf4e565cbb18906f92ff6c0 (diff)
bts: Add test for SI1 scheduling
We so far only tested combinations without SI1 present, let's change that. Change-Id: I5a62901a9477a75dce12299a0b1359d7744f75f3 Related: OS#3051
Diffstat (limited to 'bts/BTS_Tests.ttcn')
-rw-r--r--bts/BTS_Tests.ttcn11
1 files changed, 9 insertions, 2 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index f4a5a48..32269e2 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1625,8 +1625,14 @@ function f_TC_si_sched() runs on test_CT {
testcase TC_si_sched_default() runs on test_CT {
f_init();
- f_rsl_bcch_fill(RSL_SYSTEM_INFO_2, ts_SI2_default);
- f_rsl_bcch_fill(RSL_SYSTEM_INFO_4, ts_SI4_default);
+ /* 2+3+4 are mandatory and set in f_init() */
+ f_TC_si_sched();
+}
+
+testcase TC_si_sched_1() runs on test_CT {
+ f_init();
+ si_cfg.si1_present := true;
+ f_rsl_bcch_fill_raw(RSL_SYSTEM_INFO_1, '5506198fb38000000000000000000000000000e504002b'O);
f_TC_si_sched();
}
@@ -2244,6 +2250,7 @@ control {
execute( TC_rsl_mand_ie_error() );
execute( TC_rsl_ie_content_error() );
execute( TC_si_sched_default() );
+ execute( TC_si_sched_1() );
execute( TC_si_sched_2bis() );
execute( TC_si_sched_2ter() );
execute( TC_si_sched_2ter_2bis() );