lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38403?usp=email )
Change subject: SGSN: f_TC_paging_ps: call f_gmm_attach() direct ......................................................................
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;