Change in docker-playground[master]: Fix ttcn3-pcu-test-latest

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Tue Oct 15 11:04:39 UTC 2019


daniel has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/15795 )


Change subject: Fix ttcn3-pcu-test-latest
......................................................................

Fix ttcn3-pcu-test-latest

Remove the gsmtap-categories that are unknown to the latest osmo-pcu
release.

Change-Id: I4ed750aaa728272fcda09fd23cf172db0e539aa8
---
M ttcn3-pcu-test/jenkins.sh
1 file changed, 7 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/95/15795/1

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 @@
 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
 

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/15795
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I4ed750aaa728272fcda09fd23cf172db0e539aa8
Gerrit-Change-Number: 15795
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191015/9058b75d/attachment.htm>


More information about the gerrit-log mailing list