[openssh-commits] [openssh] 01/05: upstream: Check tmux version and skip if too old. ok djm@

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Oct 31 11:17:22 AEDT 2025


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 9dcd640d44b8270c75783ef662c340187250d6e4
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Thu Oct 23 06:15:26 2025 +0000

    upstream: Check tmux version and skip if too old. ok djm@
    
    OpenBSD-Regress-ID: fb62024eb753c61b4d78402ec8378af839fad26c
---
 regress/ssh-tty.sh | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/regress/ssh-tty.sh b/regress/ssh-tty.sh
index 38260e73e..07053d13b 100644
--- a/regress/ssh-tty.sh
+++ b/regress/ssh-tty.sh
@@ -1,4 +1,4 @@
-#	$OpenBSD: ssh-tty.sh,v 1.7 2025/10/22 06:22:58 djm Exp $
+#	$OpenBSD: ssh-tty.sh,v 1.8 2025/10/23 06:15:26 dtucker Exp $
 #	Placed in the Public Domain.
 
 # Basic TTY smoke test
@@ -17,6 +17,14 @@ esac
 # tmux stuff
 TMUX=${TMUX:-tmux}
 type $TMUX >/dev/null || skip "tmux not found"
+
+if $TMUX -V >/dev/null 2>&1; then
+	tver="`$TMUX -V 2>&1`"
+	echo "tmux version $tver"
+else
+	skip "tmux version not reported"
+fi
+
 CLEANENV="env -i HOME=$HOME LOGNAME=$USER USER=$USER PATH=$PATH SHELL=$SHELL"
 TMUX_TEST="$CLEANENV $TMUX -f/dev/null -Lopenssh-regress-ssh-tty"
 sess="regress-ssh-tty$$"

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list