summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-03-21 22:12:00 +0100
committerHarald Welte <laforge@gnumonks.org>2019-03-27 11:17:49 +0000
commit3d1fd5feef249f0c1d8fa021767b9a13a6aa3d94 (patch)
tree646a638be12a4846dde2b68ba0b3981b52dc4821
parent4bff40ad04269117d855aead369c4549760d9f08 (diff)
PCU: make f_bssgp_establish() run on BSSGP_Client_CT
This means it can be used in different/other scenarios, e.g. with tests that use PCUIF directly. Change-Id: I1aa5dc090aac78a85a85ac190343befb0199a093
-rw-r--r--pcu/PCU_Tests.ttcn4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index b18b999..80a1bd1 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -195,10 +195,9 @@ function tx_gmm(BIT1 c_r, in octetstring gmm_pdu, BIT4 sapi := c_LLC_SAPI_LLGMM)
}
/* Establish BSSGP connection to PCU */
-function f_bssgp_establish() runs on dummy_CT {
+function f_bssgp_establish() runs on BSSGP_Client_CT {
timer T:= 10.0;
- f_init();
T.start
alt {
[] BSSGP[0].receive(t_BssgpStsInd(?, ?, BVC_S_UNBLOCKED)) { }
@@ -386,6 +385,7 @@ testcase TC_rach() runs on dummy_CT {
testcase TC_nsem() runs on dummy_CT {
+ f_init();
f_bssgp_establish();
while (true) {