lynxis lazus has uploaded this change for review.

View Change

SGSN: f_TC_paging_ps: call f_gmm_attach() direct

Instead of using the TC function, call f_gmm_attach() direct.
Also set explicit the verdict at the end.

Change-Id: I68c75f84b01a0cd673ffd8c19ab5f0a8517c5738
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/03/38403/1
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index d7574f8..a652b25 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -2624,7 +2624,7 @@
var PdpActPars apars := valueof(t_PdpActPars(mp_ggsn_ip));

/* first perform regular attach */
- f_TC_attach(id);
+ f_gmm_attach(false, false);
/* then activate PDP context */
f_pdp_ctx_act(apars);
/* then transceive a downlink PDU */
@@ -2639,7 +2639,7 @@

/* FIXME: simulate paging response */
/* FIXME: verify PDU actually arrives only after paging response was successful */
-
+ setverdict(pass);
}
testcase TC_paging_ps() runs on test_CT {
var BSSGP_ConnHdlr vc_conn;

To view, visit change 38403. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I68c75f84b01a0cd673ffd8c19ab5f0a8517c5738
Gerrit-Change-Number: 38403
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>