aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2019-08-12 18:07:27 +0200
committerAlexander Couzens <lynxis@fe80.eu>2019-09-11 12:18:32 +0200
commite5f4a91576bf979109efba55c053a85819871850 (patch)
tree2b35b5474ad8664cb08b489056b120073a2635b9
parent5d56f5251b6303f830d461bcf2f4695643636048 (diff)
sgsn: add TC_iu_attach_geran_rau
MS <-> SGSN: Attach over Iu MS <-> SGSN: Routing Area Update over Geran The tess case will crash the SGSN and is not included in the default run. Change-Id: Ie043639638a640a2041324fc910964385a41c77d
-rw-r--r--sgsn/SGSN_Tests_Iu.ttcn23
1 files changed, 23 insertions, 0 deletions
diff --git a/sgsn/SGSN_Tests_Iu.ttcn b/sgsn/SGSN_Tests_Iu.ttcn
index 2f077d8e..c0a6729e 100644
--- a/sgsn/SGSN_Tests_Iu.ttcn
+++ b/sgsn/SGSN_Tests_Iu.ttcn
@@ -36,10 +36,33 @@ testcase TC_iu_attach() runs on test_CT {
f_cleanup();
}
+private function f_TC_iu_attach_geran_rau(charstring id) runs on BSSGP_ConnHdlr {
+ var PdpActPars apars := valueof(t_PdpActPars(mp_ggsn_ip));
+
+ /* first perform regular attach */
+ f_gmm_attach(umts_aka_challenge := true, force_gsm_sres := false, gb_idx := 3);
+ /* do a routing area update */
+ f_routing_area_update(g_pars.ra);
+}
+
+testcase TC_iu_attach_geran_rau() runs on test_CT {
+ /* MS <-> SGSN: Successful Attach over Iu
+ * MS <-> SGSN: Routing Area Update over Geran
+ */
+ var BSSGP_ConnHdlr vc_conn;
+ g_ranap_enable := true;
+ f_init();
+ f_sleep(1.0);
+ vc_conn := f_start_handler(refers(f_TC_iu_attach_geran_rau), testcasename(), g_gb, 1002);
+ vc_conn.done;
+ f_cleanup();
+}
control {
execute( TC_iu_attach() );
+ /* FIXME: will crash the sgsn
+ * execute( TC_iu_attach_geran_rau() ); */
}