Change in osmo-ttcn3-hacks[master]: msc: add MSC_Tests.TC_call_re_establishment_ciph

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/.

neels gerrit-no-reply at lists.osmocom.org
Wed Jul 28 16:57:10 UTC 2021


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25091 )


Change subject: msc: add MSC_Tests.TC_call_re_establishment_ciph
......................................................................

msc: add MSC_Tests.TC_call_re_establishment_ciph

Invoke TC_call_re_establishment with ciphering required.

Related: SYS#5130
Change-Id: I8bbe53fc9fced3e455aa30c571ef7684890adb99
---
M msc/MSC_Tests.ttcn
1 file changed, 24 insertions(+), 0 deletions(-)



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

diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 10b3990..10ba5fa 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -6772,6 +6772,29 @@
 	vc_conn2.done;
 }
 
+testcase TC_call_re_establishment_ciph() runs on MTC_CT {
+	var BSC_ConnHdlr vc_conn1;
+	var BSC_ConnHdlr vc_conn2;
+	f_init();
+
+	f_vty_config(MSCVTY, "network", "authentication required");
+	f_vty_config(MSCVTY, "network", "encryption a5 3");
+
+	var BSC_ConnHdlrPars pars1 := f_init_pars(92);
+	pars1.net.expect_auth := true;
+	pars1.net.expect_ciph := true;
+	pars1.net.kc_support := '08'O;	/* A5/3 only */
+	var BSC_ConnHdlrPars pars2 := pars1;
+
+	vc_conn1 := f_start_handler_create(pars1);
+	vc_conn2 := f_start_handler_create(pars2);
+	connect(vc_conn1:COORD, vc_conn2:COORD);
+	f_start_handler_run(vc_conn1, refers(f_tc_call_re_establishment_1), pars1);
+	f_start_handler_run(vc_conn2, refers(f_tc_call_re_establishment_2), pars2);
+	vc_conn1.done;
+	vc_conn2.done;
+}
+
 control {
 	execute( TC_cr_before_reset() );
 	execute( TC_lu_imsi_noauth_tmsi() );
@@ -6933,6 +6956,7 @@
 
 	execute( TC_call_re_establishment() );
 	execute( TC_call_re_establishment_auth() );
+	execute( TC_call_re_establishment_ciph() );
 }
 
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25091
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: I8bbe53fc9fced3e455aa30c571ef7684890adb99
Gerrit-Change-Number: 25091
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210728/e89b75ef/attachment.htm>


More information about the gerrit-log mailing list