pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38539?usp=email )

Change subject: hnbgw: Allow modifying RanOps during test startup
......................................................................

hnbgw: Allow modifying RanOps during test startup

This will be used by a test to skip response to CONNECT.ind, allowing
transmission of DISCONNECT.req and hence transmitting CREF over the
wire.

Change-Id: Ib9462ba41b16375348b086d7ffe9f5755ae26f84
---
M hnbgw/HNBGW_Tests.ttcn
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  fixeria: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  Jenkins Builder: Verified
  laforge: Looks good to me, but someone else must approve




diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 4ab5a90..4606396 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -272,6 +272,8 @@
        /* Counter state */
        var CounterNameValsList g_ctr_cn;
        var CounterNameValsList g_ctr_hnb;
+
+       var RanOps g_ran_ops := MSC_RanOps;
 }

 /* global altstep for global guard timer; */
@@ -394,7 +396,7 @@
  * link for 'sgsn 3' = (ps_domain := true, cn_nr := 3)
  */
 private function f_cn_nr_init(boolean ps_domain, integer cn_nr) runs on 
test_CT {
-       var RanOps ranops := MSC_RanOps;
+       var RanOps ranops := g_ran_ops;
        ranops.ps_domain := ps_domain;
        var integer cn_idx := f_cn_idx(ps_domain, cn_nr);
        var charstring msc_sgsn := "msc";

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38539?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ib9462ba41b16375348b086d7ffe9f5755ae26f84
Gerrit-Change-Number: 38539
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to