fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/43943?usp=email )
Change subject: ttcn3/tmux: check-in ttcn3-pcu-test.sh ......................................................................
ttcn3/tmux: check-in ttcn3-pcu-test.sh
Change-Id: I857de8092b160e2905ce0aa9631146cf3f4112b8 --- A ttcn3/tmux/ttcn3-pcu-test.sh 1 file changed, 17 insertions(+), 0 deletions(-)
Approvals: osmith: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/ttcn3/tmux/ttcn3-pcu-test.sh b/ttcn3/tmux/ttcn3-pcu-test.sh new file mode 100755 index 0000000..56dfb2c --- /dev/null +++ b/ttcn3/tmux/ttcn3-pcu-test.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +SESSION="ttcn3-pcu-test" + +OSMO_DIR="/home/$USER/osmocom" +SUITE_DIR="$OSMO_DIR/osmo-ttcn3-hacks" +RESPAWN="$OSMO_DIR/scripts/respawn.sh" + +tmux new-session -s $SESSION -n $SESSION -d + +tmux split-window -t $SESSION:0 -v +tmux send-keys -t $SESSION:0.0 "cd $SUITE_DIR/pcu" C-m +tmux send-keys -t $SESSION:0.0 "$RESPAWN osmo-pcu -c osmo-pcu.cfg" C-m +tmux send-keys -t $SESSION:0.1 "cd $SUITE_DIR/pcu" C-m +tmux send-keys -t $SESSION:0.1 "../start-testsuite.sh pcu/PCU_Tests PCU_Tests.cfg" + +tmux attach -t $SESSION:0