3 # new session base-index
8 [ -z "$TEST_TMUX" ] && TEST_TMUX
=$
(readlink
-f ..
/tmux
)
9 TMUX
="$TEST_TMUX -Ltest"
10 $TMUX kill-server
2>/dev
/null
13 trap "rm -f $TMP" 0 1 15
23 echo $
($TMUX lsw
-F'#{window_index}') >$TMP
24 (echo "100 200"|
cmp -s - $TMP) ||
exit 1
25 $TMUX kill-server
2>/dev
/null