ttcn3-pcu-test-sns: use PCUIFv9 for 'latest' images

Change-Id: Iae0136c453ad14114dae17e8b0e8b5ae2ef8e352
Related: I9350c4a54434c3d46ce9424f382ca0057e58d053
Related: SYS#4868, SYS#4915
This commit is contained in:
Vadim Yanitskiy 2020-09-22 13:30:23 +07:00
parent 0e2a3d6bb1
commit 92b653170d
1 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,13 @@ cp sns/osmo-pcu.cfg $VOL_BASE_DIR/pcu/
mkdir $VOL_BASE_DIR/unix
# TODO: revisit this section every time we tag a new release
if [ "$IMAGE_SUFFIX" = "latest" ]; then
# PCUIFv10 is not yet supported in the latest release
sed "/\[MODULE_PARAMETERS\]/ a PCUIF_Types.mp_pcuif_version := 9;" \
-i "$VOL_BASE_DIR/pcu-tester/PCU_Tests.cfg"
fi
echo Starting container with PCU
docker run --rm \
$(docker_network_params $SUBNET 101) \