Change in ...osmo-ttcn3-hacks[master]: implement

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Sep 17 16:19:06 UTC 2019


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15555


Change subject: implement
......................................................................

implement

Change-Id: I2035f2cb01d9891a3b296328318d4647e63adb58
---
M sgsn/SGSN_Tests_Iu.ttcn
1 file changed, 26 insertions(+), 1 deletion(-)



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

diff --git a/sgsn/SGSN_Tests_Iu.ttcn b/sgsn/SGSN_Tests_Iu.ttcn
index 786961f..bfcef17 100644
--- a/sgsn/SGSN_Tests_Iu.ttcn
+++ b/sgsn/SGSN_Tests_Iu.ttcn
@@ -83,11 +83,36 @@
 	f_cleanup();
 }
 
+private function f_TC_geran_attach_iu_attach(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, ran_index := 0);
+
+	/* first perform regular attach */
+	f_gmm_attach(umts_aka_challenge := true, force_gsm_sres := false, ran_index := 3);
+	setverdict(pass);
+}
+
+testcase TC_geran_attach_iu_attach() runs on test_CT {
+	/* MS <-> SGSN: Successful Attach over Geran
+	/* MS <-> SGSN: Successful Attach over Iu
+	 */
+	var BSSGP_ConnHdlr vc_conn;
+	g_ranap_enable := true;
+	f_init();
+	f_sleep(1.0);
+	vc_conn := f_start_handler(refers(f_TC_geran_attach_iu_attach), testcasename(), g_gb, 1004);
+	vc_conn.done;
+	f_cleanup();
+}
+
 control {
 	execute( TC_iu_attach() );
 	/* FIXME: will crash the sgsn
 	 * execute( TC_iu_attach_geran_rau() );
-	 * execute( TC_geran_attach_iu_rau() ); */
+	 * execute( TC_geran_attach_iu_rau() );
+	 * execute( TC_geran_attach_iu_attach() ); */
 }
 
 

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I2035f2cb01d9891a3b296328318d4647e63adb58
Gerrit-Change-Number: 15555
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190917/34dc9923/attachment.htm>


More information about the gerrit-log mailing list