BSC_Tests: fix TC_chan_act_ack_noest_emerg
The testcase TC_chan_act_ack_noest_emerg tests if an emergency causes a
channel assignment. This can only work if emergency calls are allowed,
but the testcase does not make sure that this actually is the case.
Related: OS#4548
Change-Id: I0ddac0ba8ed4afe993d566dcbea87cdc62ed9fe4
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 799d6a1..e556b48 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -999,8 +999,6 @@
private function f_TC_chan_act_ack_noest(OCT1 ra := '23'O) runs on test_CT {
var RSL_Message rx_rsl;
- f_init(1);
-
/* Send CHAN RQD and wait for allocation; acknowledge it */
var RslChannelNr chan_nr := f_chreq_act_ack(ra);
@@ -1012,12 +1010,15 @@
/* Normal variant */
testcase TC_chan_act_ack_noest() runs on test_CT {
+ f_init(1);
f_TC_chan_act_ack_noest();
}
/* Emergency call variant */
testcase TC_chan_act_ack_noest_emerg() runs on test_CT {
/* See also: 3GPP TS 04.08, Table 9.9, ra=101xxxxx */
+ f_init(1);
+ f_vty_allow_emerg_bts(true, 0);
f_TC_chan_act_ack_noest(ra := 'A5'O);
}