fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/27485 )
Change subject: ttcn3/tmux/ttcn3-bts-test.sh: fix incorrectly passed --trx arguments ...................................................................... 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 [email protected]:5700/1 [email protected]:5700/2 [email protected]:5700/3 fake_trx: error: unrecognized arguments: [email protected]:5700/1 [email protected]:5700/2 [email protected]:5700/3 Let's send each argument separately. Change-Id: Ibf28ac013c426baba491af45e2ae46f37685a402 --- M ttcn3/tmux/ttcn3-bts-test.sh 1 file changed, 5 insertions(+), 4 deletions(-) Approvals: fixeria: Looks good to me, approved; Verified diff --git a/ttcn3/tmux/ttcn3-bts-test.sh b/ttcn3/tmux/ttcn3-bts-test.sh index e506071..4d05d07 100755 --- a/ttcn3/tmux/ttcn3-bts-test.sh +++ b/ttcn3/tmux/ttcn3-bts-test.sh @@ -46,9 +46,10 @@ 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 [email protected]:5700/1 \ - --trx [email protected]:5700/2 \ - --trx [email protected]:5700/3" C-m +tmux send-keys -t $SESSION:1.2 "./fake_trx.py" +tmux send-keys -t $SESSION:1.2 " --trx [email protected]:5700/1" +tmux send-keys -t $SESSION:1.2 " --trx [email protected]:5700/2" +tmux send-keys -t $SESSION:1.2 " --trx [email protected]:5700/3" +tmux send-keys -t $SESSION:1.2 C-m tmux attach -t $SESSION:0 -- To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/27485 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-dev Gerrit-Branch: master Gerrit-Change-Id: Ibf28ac013c426baba491af45e2ae46f37685a402 Gerrit-Change-Number: 27485 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <[email protected]> Gerrit-Reviewer: fixeria <[email protected]> Gerrit-Reviewer: neels <[email protected]> Gerrit-Reviewer: osmith <[email protected]> Gerrit-MessageType: merged
