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
This commit is contained in:
Stefan Sperling 2018-01-03 17:14:55 +01:00
parent df32723446
commit 668fa24527
1 changed files with 11 additions and 0 deletions

View File

@ -871,6 +871,16 @@ testcase TC_ctrl_msc_connection_status() runs on test_CT {
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 @@ testcase TC_assignment_sign() runs on test_CT {
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() );