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