From 292e5961afe4b80d318baea8b08a05a33054dbf3 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sun, 3 Jan 2021 14:18:47 +0100 Subject: [PATCH] BSC_Tests: fix unreachable code after f_shutdown_helper() This function does 'mtc.stop', so it must be always called last. Change-Id: If2c991d6ac23e43aafd32814ca17cf2093cb1522 --- bsc/BSC_Tests.ttcn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index fe50e0618..f72ab2244 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: