Regress fixes.

This commit is contained in:
Nicholas Marriott 2021-08-20 18:20:49 +01:00
parent 5ed5b11b45
commit 41822ef782
2 changed files with 3 additions and 3 deletions

View File

@ -8,8 +8,7 @@ TMUX="$TEST_TMUX -Ltest"
$TMUX kill-server 2>/dev/null
TMP=$(mktemp)
OUT=$(mktemp)
trap "rm -f $TMP $OUT" 0 1 15
trap "rm -f $TMP" 0 1 15
$TMUX -f/dev/null new -d -x200 -y200 || exit 1
$TMUX -f/dev/null splitw || exit 1

View File

@ -7,11 +7,12 @@ TERM=screen
TMUX="$TEST_TMUX -Ltest"
$TMUX kill-server 2>/dev/null
$TMUX -vv new -d
$TMUX new -d
$TMUX set -g remain-on-exit on
do_test() {
$TMUX splitw "printf '$1'"
sleep 0.25
c="$($TMUX display -p '#{pane_bg}')"
$TMUX kill-pane
[ "$c" != "$2" ] && return 1