msc: Disable expecting CommonID when testing 'latest'

As of osmo-ttcn3-hacks.git Change-Id I4976d9bb1f07c8ab4ffa02848414f8ddd1bdfd3f
the test suite expects the MSC to send a CommonID to the BSC.  As
older/existing tagged osmo-msc don't do that, we needt odisable that
check when verifying 'latest'.

Change-Id: If2e4cc41cb7b5758a78d694d62b34390a08e6387
Related: OS#2969
This commit is contained in:
Harald Welte 2020-08-18 23:12:24 +02:00 committed by laforge
parent 02bd8bc60e
commit a8521eb11a
2 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,7 @@ MSC_Tests.mp_hlr_ip := "172.18.20.103";
MSC_Tests.mp_mgw_ip := "172.18.20.103";
MSC_Tests.mp_enable_osmux_test := true;
MSC_Tests.mp_enable_cell_id_test := true;
BSC_ConnectionHandler.mp_expect_common_id := true;
[MAIN_CONTROLLER]

View File

@ -17,6 +17,8 @@ cp MSC_Tests.cfg $VOL_BASE_DIR/msc-tester/
if [ "$IMAGE_SUFFIX" = "latest" ]; then
sed "s/MSC_Tests.mp_enable_cell_id_test := true/MSC_Tests.mp_enable_cell_id_test := false/" -i \
"$VOL_BASE_DIR/msc-tester/MSC_Tests.cfg"
sed "s/BSC_ConnectionHandler.mp_expect_common_id := true/BSC_ConnectionHandler.mp_expect_common_id := false/" -i \
"$VOL_BASE_DIR/msc-tester/MSC_Tests.cfg"
fi
mkdir $VOL_BASE_DIR/stp