From: Volker Lendecke Date: Wed, 8 Jul 2026 12:01:59 +0000 (+0200) Subject: testenv: tmux does not allow "." or ":" in window names anymore X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=343e0700008a6bb8b9e7de953c395c98bdcb43b9;p=thirdparty%2Fsamba.git testenv: tmux does not allow "." or ":" in window names anymore Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Wed Jul 8 16:19:23 UTC 2026 on atb-devel-224 --- diff --git a/selftest/in_screen b/selftest/in_screen index d7d1b53d920..24e0402d93c 100755 --- a/selftest/in_screen +++ b/selftest/in_screen @@ -69,7 +69,12 @@ if [[ "$TMUX" ]]; then TMUX_CMD=tmate fi - $TMUX_CMD new-window -n test:$SERVERNAME "bash $basedir/$SERVERNAME.launch" + # tmux forbids . and : in window names + WINDOWNAME=test:"$SERVERNAME" + WINDOWNAME=${WINDOWNAME//\./#} + WINDOWNAME=${WINDOWNAME//\:/#} + + $TMUX_CMD new-window -n "$WINDOWNAME" "bash $basedir/$SERVERNAME.launch" # tmux seems to lag a bit for new sessions. Don't create them too # quickly one after another