BSC_Tests: fix unreachable code after f_shutdown_helper()
This function does 'mtc.stop', so it must be always called last. Change-Id: If2c991d6ac23e43aafd32814ca17cf2093cb1522
This commit is contained in:
parent
8ca840eb04
commit
292e5961af
|
@ -3681,9 +3681,9 @@ testcase TC_assignment_codec_amr_f() runs on test_CT {
|
||||||
|
|
||||||
vc_conn := f_start_handler(refers(f_TC_assignment_codec), pars);
|
vc_conn := f_start_handler(refers(f_TC_assignment_codec), pars);
|
||||||
vc_conn.done;
|
vc_conn.done;
|
||||||
f_shutdown_helper();
|
|
||||||
|
|
||||||
f_vty_amr_start_mode_restore(true);
|
f_vty_amr_start_mode_restore(true);
|
||||||
|
f_shutdown_helper();
|
||||||
}
|
}
|
||||||
|
|
||||||
testcase TC_assignment_codec_amr_h() runs on test_CT {
|
testcase TC_assignment_codec_amr_h() runs on test_CT {
|
||||||
|
@ -3709,9 +3709,9 @@ testcase TC_assignment_codec_amr_h() runs on test_CT {
|
||||||
|
|
||||||
vc_conn := f_start_handler(refers(f_TC_assignment_codec), pars);
|
vc_conn := f_start_handler(refers(f_TC_assignment_codec), pars);
|
||||||
vc_conn.done;
|
vc_conn.done;
|
||||||
f_shutdown_helper();
|
|
||||||
|
|
||||||
f_vty_amr_start_mode_restore(false);
|
f_vty_amr_start_mode_restore(false);
|
||||||
|
f_shutdown_helper();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 'amr start-mode auto' should not keep the (unused) 'smod' bits from previous configuration */
|
/* 'amr start-mode auto' should not keep the (unused) 'smod' bits from previous configuration */
|
||||||
|
@ -3743,11 +3743,11 @@ testcase TC_assignment_codec_amr_startmode_cruft() runs on test_CT {
|
||||||
|
|
||||||
vc_conn := f_start_handler(refers(f_TC_assignment_codec), pars);
|
vc_conn := f_start_handler(refers(f_TC_assignment_codec), pars);
|
||||||
vc_conn.done;
|
vc_conn.done;
|
||||||
f_shutdown_helper();
|
|
||||||
|
|
||||||
/* Clear the startmode bits to not affect subsequent tests, in case the bits should indeed stick around. */
|
/* Clear the startmode bits to not affect subsequent tests, in case the bits should indeed stick around. */
|
||||||
f_vty_amr_start_mode_set(true, "1");
|
f_vty_amr_start_mode_set(true, "1");
|
||||||
f_vty_amr_start_mode_restore(true);
|
f_vty_amr_start_mode_restore(true);
|
||||||
|
f_shutdown_helper();
|
||||||
}
|
}
|
||||||
|
|
||||||
function f_TC_assignment_codec_amr(boolean fr, octetstring mrconf, bitstring s8_s0, bitstring exp_s8_s0,
|
function f_TC_assignment_codec_amr(boolean fr, octetstring mrconf, bitstring s8_s0, bitstring exp_s8_s0,
|
||||||
|
@ -4257,9 +4257,9 @@ testcase TC_assignment_osmux() runs on test_CT {
|
||||||
|
|
||||||
vc_conn := f_start_handler(refers(f_TC_assignment_codec), pars);
|
vc_conn := f_start_handler(refers(f_TC_assignment_codec), pars);
|
||||||
vc_conn.done;
|
vc_conn.done;
|
||||||
f_shutdown_helper();
|
|
||||||
|
|
||||||
f_vty_amr_start_mode_restore(false);
|
f_vty_amr_start_mode_restore(false);
|
||||||
|
f_shutdown_helper();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* test the procedure of the MSC requesting a Classmark Update:
|
/* test the procedure of the MSC requesting a Classmark Update:
|
||||||
|
|
Loading…
Reference in New Issue