summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-01-03 14:18:47 +0100
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-01-03 14:18:51 +0100
commit292e5961afe4b80d318baea8b08a05a33054dbf3 (patch)
treed45e4b40372924f98d17a1a9fed143e379a1275d
parent8ca840eb04c4ef072056f78199cfb8c4d5f8fc4d (diff)
BSC_Tests: fix unreachable code after f_shutdown_helper()
This function does 'mtc.stop', so it must be always called last. Change-Id: If2c991d6ac23e43aafd32814ca17cf2093cb1522
-rw-r--r--bsc/BSC_Tests.ttcn8
1 files changed, 4 insertions, 4 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index fe50e06..f72ab22 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -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.done;
- f_shutdown_helper();
f_vty_amr_start_mode_restore(true);
+ f_shutdown_helper();
}
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.done;
- f_shutdown_helper();
f_vty_amr_start_mode_restore(false);
+ f_shutdown_helper();
}
/* '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.done;
- f_shutdown_helper();
/* 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_restore(true);
+ f_shutdown_helper();
}
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.done;
- f_shutdown_helper();
f_vty_amr_start_mode_restore(false);
+ f_shutdown_helper();
}
/* test the procedure of the MSC requesting a Classmark Update: