osmo-ttcn3-hacks/bts/run_fake_trx.sh

12 lines
341 B
Bash
Executable File

#!/bin/bash
# Most BTS_Tests require to have fake_trx running.
# fake trx is part of osmo-trx
FAKE_TRX_DIR="${FAKE_TRX_DIR:-../../osmo-trx/osmocom-bb/src/target/trx_toolkit}"
if [ -n "$FAKE_TRX_DIR" ] ; then
cd "$FAKE_TRX_DIR"
fi
exec ./fake_trx.py --trx TRX1@127.0.0.1:5700/1 --trx TRX2@127.0.0.1:5700/2 --trx TRX3@127.0.0.1:5700/3