[PATCH] osmo-ttcn3-hacks[master]: Test control connection status query for MSC 0.

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

Stefan Sperling gerrit-no-reply at lists.osmocom.org
Wed Jan 3 16:28:17 UTC 2018


Review at  https://gerrit.osmocom.org/5632

Test control connection status query for MSC 0.

This new test exercises the new 'msc.0.connection_status' control
command which is added in https://gerrit.osmocom.org/#/c/5630/

Change-Id: I55faa1ec413629234e24831dbc05d8b0afec8099
Related: OS#2729
---
M bsc/BSC_Tests.ttcn
1 file changed, 11 insertions(+), 0 deletions(-)


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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 4cf418e..0080fe0 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -871,6 +871,16 @@
 	setverdict(pass);
 }
 
+testcase TC_ctrl_msc0_connection_status() runs on test_CT {
+	var charstring ctrl_resp;
+
+	f_init(1);
+	f_bssap_reset();
+
+	f_ctrl_get_exp(IPA_CTRL, "msc.0.connection_status", "connected");
+	setverdict(pass);
+}
+
 testcase TC_ctrl() runs on test_CT {
 	var charstring ctrl_resp;
 
@@ -1385,6 +1395,7 @@
 
 control {
 	execute( TC_ctrl_msc_connection_status() );
+	execute( TC_ctrl_msc0_connection_status() );
 	execute( TC_ctrl() );
 	execute( TC_chan_act_noreply() );
 	execute( TC_chan_act_counter() );

-- 
To view, visit https://gerrit.osmocom.org/5632
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I55faa1ec413629234e24831dbc05d8b0afec8099
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>



More information about the gerrit-log mailing list