diff options
author | Pierre GRANDIN <grandinp@altern.org> | 2015-02-19 00:27:02 -0800 |
---|---|---|
committer | Pierre GRANDIN <grandinp@altern.org> | 2015-02-19 00:27:02 -0800 |
commit | aca53c232801bb5c2d4c3867dc98ce40c4efdf41 (patch) | |
tree | 6d168295b1b865a1e221ddd12bdb34857ebfb98a | |
parent | 3740304fd4132f375b0e074a4a345076cab9a1a9 (diff) | |
download | navit-aca53c232801bb5c2d4c3867dc98ce40c4efdf41.tar.gz |
Added test.sh
-rw-r--r-- | test.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test.sh b/test.sh new file mode 100644 index 000000000..98ff13052 --- /dev/null +++ b/test.sh @@ -0,0 +1,20 @@ +tmux new-session -s "compute-${rack}" -n "compute-${rack}" -d +for i in 1 2; do + tmux new-window -t "compute-${rack}:$i" -n "cpt-$i" +done + +tmux select-window -t "compute-${rack}:1" + + +i=1 +tmux send-keys -t :cpt-$i "cd ~/navit/navit/bin/navit/ && DISPLAY=:99 ./navit; exit" Enter +tmux join-pane -s :cpt-$i +tmux select-layout tiled + +i=2 +tmux send-keys -t :cpt-$i "sleep 5; pkill navit; tmux kill-session" Enter +tmux join-pane -s :cpt-$i +tmux select-layout tiled + +#tmux set-window-option synchronize-panes +tmux -2 attach-session -t "compute-${rack}" |