Fix ttcn3-pcu-test-latest

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

Change-Id: I4ed750aaa728272fcda09fd23cf172db0e539aa8
Daniel Willmann 2019-10-15 12:55:43 +02:00
parent 65bc0ae407
commit c66029cd99
1 changed files with 7 additions and 0 deletions

View File

@ -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
mkdir $VOL_BASE_DIR/unix