aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-pcu-test
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2019-10-15 12:55:43 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2019-10-15 12:55:43 +0200
commitc66029cd99a69fd8ecd89a2445ffd9b7046c5a73 (patch)
tree77931376627e2f92e269d6a1538038088d727fa8 /ttcn3-pcu-test
parent65bc0ae40797082d4fad30e1789a65817ce6fc2c (diff)
Fix ttcn3-pcu-test-latest
Remove the gsmtap-categories that are unknown to the latest osmo-pcu release. Change-Id: I4ed750aaa728272fcda09fd23cf172db0e539aa8
Diffstat (limited to 'ttcn3-pcu-test')
-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