mirror of
https://github.com/tmux/tmux.git
synced 2026-07-03 10:12:31 +00:00
Test fixes.
This commit is contained in:
@@ -79,6 +79,7 @@ assert_alive()
|
||||
}
|
||||
|
||||
$TMUX kill-server 2>/dev/null
|
||||
sleep 0.1
|
||||
$TMUX new-session -d -s main -x 80 -y 24 || exit 1
|
||||
|
||||
# Single-window session used by test_expand for format_expand-context tests.
|
||||
@@ -471,6 +472,7 @@ assert_alive "verbose expansion"
|
||||
# panes (and their order) is known, so start from a clean server. This must be
|
||||
# the last section as it discards the setup above.
|
||||
$TMUX kill-server 2>/dev/null
|
||||
sleep 0.1
|
||||
|
||||
# Sessions, created in this order, so session ids (and hence creation order)
|
||||
# are zeta=$0, alpha=$1, mike=$2.
|
||||
|
||||
@@ -158,6 +158,7 @@ check "alpha:{last}" "2"
|
||||
#
|
||||
# ":win" uses the current session; confirm that is alpha first so the test is
|
||||
# unambiguous, then resolve a window inside it with an empty session part.
|
||||
check_ok select-window -t alpha:0
|
||||
check "" "alpha" '#{session_name}' # empty target is current
|
||||
check "" "alpha:0" '#{session_name}:#{window_index}'
|
||||
check ":shell" "alpha:2" '#{session_name}:#{window_index}'
|
||||
|
||||
Reference in New Issue
Block a user