From 41822ef782122be42305c0c21e2f166077d09002 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 20 Aug 2021 18:20:49 +0100 Subject: [PATCH] Regress fixes. --- regress/control-client-sanity.sh | 3 +-- regress/osc-11colours.sh | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/control-client-sanity.sh b/regress/control-client-sanity.sh index bf76b4d5..691d3d87 100644 --- a/regress/control-client-sanity.sh +++ b/regress/control-client-sanity.sh @@ -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 diff --git a/regress/osc-11colours.sh b/regress/osc-11colours.sh index a0dd605d..a049a49a 100644 --- a/regress/osc-11colours.sh +++ b/regress/osc-11colours.sh @@ -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