Harald Welte has submitted this change and it was merged.

Change subject: Test control connection status query for MSC 0.
......................................................................


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I55faa1ec413629234e24831dbc05d8b0afec8099
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Stefan Sperling <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to