Review at  https://gerrit.osmocom.org/7227

pcu: Adapt TC_paging to new code structure

OsmoPCU still doesn't support PAGING-PS, so this test is moot.

Change-Id: I94258c386073b1c11792949df56d643b92eeaefd
---
M pcu/PCU_Tests.ttcn
1 file changed, 5 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/27/7227/1

diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index d4ce7ee..ef46831 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -194,14 +194,13 @@
 
        /* Send PS-PAGING via BSSGP to PCU, expect it to show up on L1/Um */
        testcase TC_paging() runs on dummy_CT {
-               var hexstring imsi := '262420123456789'H;
-               var BssgpBvci bvci := 196;
                var GsmTmsi tmsi := hex2int('01234567'H);
+               g_mmctx.imsi := '262420123456789'H;
+               g_mmctx.tlli := f_random_tlli();
+               f_init();
 
-               f_bssgp_establish();
-
-               BSSGP.send(ts_BSSGP_PS_PAGING_IMSI(bvci, imsi));
-               BSSGP.send(ts_BSSGP_PS_PAGING_PTMSI(bvci, imsi, tmsi));
+               BSSGP.send(ts_BSSGP_PS_PAGING_IMSI(mp_gb_cfg.bvci, 
g_mmctx.imsi));
+               BSSGP.send(ts_BSSGP_PS_PAGING_PTMSI(mp_gb_cfg.bvci, 
g_mmctx.imsi, tmsi));
 
                while (true) {
                        var BssgpDecoded bd;

-- 
To view, visit https://gerrit.osmocom.org/7227
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I94258c386073b1c11792949df56d643b92eeaefd
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>

Reply via email to