From e85ddd1f44299dbc29ce1a882856aa5e7a52f82d Mon Sep 17 00:00:00 2001 From: ejc3 Date: Tue, 13 Oct 2026 02:03:30 +0000 Subject: [PATCH] regress: give floating-pane-scroll-behind-margins.sh its own sockets The socket names are testA$ to testD$, with a single $, so they are the same on every run: two copies of the test running at once start sessions on each other's servers and kill them. Use testA$$ to testD$$, as the other tests do. --- regress/floating-pane-scroll-behind-margins.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/regress/floating-pane-scroll-behind-margins.sh b/regress/floating-pane-scroll-behind-margins.sh index 622c659f2..b7c93e489 100755 --- a/regress/floating-pane-scroll-behind-margins.sh +++ b/regress/floating-pane-scroll-behind-margins.sh @@ -14,8 +14,8 @@ export PATH TERM LC_ALL [ -z "$TEST_TMUX" ] && TEST_TMUX=$(readlink -f ../tmux) DIR=$(mktemp -d) || exit 1 -INNER_NAME=testA$ -OUTER_NAME=testB$ +INNER_NAME=testA$$ +OUTER_NAME=testB$$ INNER="$TEST_TMUX -L$INNER_NAME -f/dev/null" OUTER="$TEST_TMUX -L$OUTER_NAME -f/dev/null" EMITTER=$DIR/emitter.pl @@ -95,8 +95,8 @@ PERL for margins in off on; do if [ "$margins" = on ]; then - INNER_NAME=testC$ - OUTER_NAME=testD$ + INNER_NAME=testC$$ + OUTER_NAME=testD$$ INNER="$TEST_TMUX -L$INNER_NAME -f/dev/null" OUTER="$TEST_TMUX -L$OUTER_NAME -f/dev/null" fi