ttcn3-pcu-test: set PCUIFv12 for both -master and -latest

osmo-pcu v1.4.0 (recently tagged) now also speaks PCUIFv12.

Change-Id: If0b2209af645f391817f65b4227736b52ca59e2e
Related: OS#6191
This commit is contained in:
Vadim Yanitskiy 2023-12-15 14:57:00 +07:00
parent f4e2d5c1e5
commit 39d26ce8de
4 changed files with 4 additions and 22 deletions

View File

@ -35,7 +35,7 @@ SGSN_Components.mp_nsconfig := {
}
}
Osmocom_VTY_Functions.mp_prompt_prefix := "OsmoPCU"
PCUIF_Types.mp_pcuif_version := 11
PCUIF_Types.mp_pcuif_version := 12
[MAIN_CONTROLLER]

View File

@ -11,16 +11,7 @@ set -e
set_pcuif_version() {
if image_suffix_is_2023q1; then
sed -i 's/PCUIF_Types.mp_pcuif_version := 11/PCUIF_Types.mp_pcuif_version := 10/g' $1
fi
# This changes the PCUIF module parameter of the TTCN3 testsuite when the testsuite is
# executed for current master. For latest the PCUIF module parameter must stay at v.11
# since in osmo-pcu-latest PCUIF v.12 is not yet supported. After the next release, PCUIF
# v.12 will be supported in osmo-pcu-latest as well and this function, including the
# PCUIF_Types.mp_pcuif_version setting in the configuration files can be removed.
if image_suffix_is_master; then
sed -i 's/PCUIF_Types.mp_pcuif_version := 11/PCUIF_Types.mp_pcuif_version := 12/g' $1
sed -i 's/PCUIF_Types.mp_pcuif_version := 12/PCUIF_Types.mp_pcuif_version := 10/g' $1
fi
}

View File

@ -11,16 +11,7 @@ set -e
set_pcuif_version() {
if image_suffix_is_2023q1; then
sed -i 's/PCUIF_Types.mp_pcuif_version := 11/PCUIF_Types.mp_pcuif_version := 10/g' $1
fi
# This changes the PCUIF module parameter of the TTCN3 testsuite when the testsuite is
# executed for current master. For latest the PCUIF module parameter must stay at v.11
# since in osmo-pcu-latest PCUIF v.12 is not yet supported. After the next release, PCUIF
# v.12 will be supported in osmo-pcu-latest as well and this function, including the
# PCUIF_Types.mp_pcuif_version setting in the configuration files can be removed.
if image_suffix_is_master; then
sed -i 's/PCUIF_Types.mp_pcuif_version := 11/PCUIF_Types.mp_pcuif_version := 12/g' $1
sed -i 's/PCUIF_Types.mp_pcuif_version := 12/PCUIF_Types.mp_pcuif_version := 10/g' $1
fi
}

View File

@ -59,7 +59,7 @@ SGSN_Components.mp_nsconfig := {
}
}
}
PCUIF_Types.mp_pcuif_version := 11
PCUIF_Types.mp_pcuif_version := 12
[MAIN_CONTROLLER]