mirror of https://gerrit.osmocom.org/osmo-dev
ttcn3/tmux/ttcn3-bts-test.sh: fix incorrectly passed --trx arguments
For some reason, on Arch Linux: $ file /bin/sh /bin/sh: symbolic link to bash $ sh --version GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu) the '--trx' arguments are getting passed incorrectly: $ ./fake_trx.py TRX1@127.0.0.1:5700/1 TRX2@127.0.0.1:5700/2 TRX3@127.0.0.1:5700/3 fake_trx: error: unrecognized arguments: TRX1@127.0.0.1:5700/1 TRX2@127.0.0.1:5700/2 TRX3@127.0.0.1:5700/3 Let's send each argument separately. Change-Id: Ibf28ac013c426baba491af45e2ae46f37685a402changes/85/27485/1
parent
5b3b14e5f7
commit
1b68dbc826
|
@ -46,9 +46,10 @@ tmux send-keys -t $SESSION:1.1 "cd $OBB_DIR/src/host/trxcon" C-m
|
|||
tmux send-keys -t $SESSION:1.1 "./trxcon -s /tmp/osmocom_l2" C-m
|
||||
# Start fake_trx.py
|
||||
tmux send-keys -t $SESSION:1.2 "cd $OBB_DIR/src/target/trx_toolkit" C-m
|
||||
tmux send-keys -t $SESSION:1.2 "./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" C-m
|
||||
tmux send-keys -t $SESSION:1.2 "./fake_trx.py"
|
||||
tmux send-keys -t $SESSION:1.2 " --trx TRX1@127.0.0.1:5700/1"
|
||||
tmux send-keys -t $SESSION:1.2 " --trx TRX2@127.0.0.1:5700/2"
|
||||
tmux send-keys -t $SESSION:1.2 " --trx TRX3@127.0.0.1:5700/3"
|
||||
tmux send-keys -t $SESSION:1.2 C-m
|
||||
|
||||
tmux attach -t $SESSION:0
|
||||
|
|
Loading…
Reference in New Issue