[openssh-commits] [openssh] 03/03: upstream: fix test for executability of tmux

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Oct 21 19:36:42 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 425e5b6bd765efbfc7691f43bfc08c86dc8a615e
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Tue Oct 21 08:35:22 2025 +0000

    upstream: fix test for executability of tmux
    
    OpenBSD-Regress-ID: a18119876ecfd95edb78225b086ac668eb0977ab
---
 regress/ssh-tty.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/regress/ssh-tty.sh b/regress/ssh-tty.sh
index 866e92287..33c2d77a1 100644
--- a/regress/ssh-tty.sh
+++ b/regress/ssh-tty.sh
@@ -1,4 +1,4 @@
-#	$OpenBSD: ssh-tty.sh,v 1.2 2025/10/21 08:34:52 djm Exp $
+#	$OpenBSD: ssh-tty.sh,v 1.3 2025/10/21 08:35:22 djm Exp $
 #	Placed in the Public Domain.
 
 # Basic TTY smoke test
@@ -12,7 +12,7 @@ mkdir -m 0700 -p "$FAKEHOME"
 
 # tmux stuff
 TMUX=${TMUX:-tmux}
-test -x $TMUX || skip "tmux not found"
+type $TMUX >/dev/null || skip "tmux not found"
 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