aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-pcu-test/jenkins.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ttcn3-pcu-test/jenkins.sh')
-rwxr-xr-xttcn3-pcu-test/jenkins.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ttcn3-pcu-test/jenkins.sh b/ttcn3-pcu-test/jenkins.sh
index 17d76b5..8c855f1 100755
--- a/ttcn3-pcu-test/jenkins.sh
+++ b/ttcn3-pcu-test/jenkins.sh
@@ -17,6 +17,13 @@ cp PCU_Tests.cfg $VOL_BASE_DIR/pcu-tester/
mkdir $VOL_BASE_DIR/pcu
mkdir $VOL_BASE_DIR/pcu/unix
cp osmo-pcu.cfg $VOL_BASE_DIR/pcu/
+# Latest release of osmo-pcu (0.7.0) doesn't know some gsmtap categories
+# This can be removed once a new osmo-pcu version is released
+if [ "$IMAGE_SUFFIX" = "latest" ]; then
+ sed "s/gsmtap-category dl-agch//g" -i $VOL_BASE_DIR/pcu/osmo-pcu.cfg
+ sed "s/gsmtap-category dl-pch//g" -i $VOL_BASE_DIR/pcu/osmo-pcu.cfg
+ sed "s/gsmtap-category ul-rach//g" -i $VOL_BASE_DIR/pcu/osmo-pcu.cfg
+fi
mkdir $VOL_BASE_DIR/unix