diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2024-12-06 08:05:54 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2024-12-06 10:20:20 +0100 |
commit | 11a5e5179077f73c2d45bcdf3f60153ae3f17815 (patch) | |
tree | 388d3ca8b602d50649ad67ae29c970696d369e3a | |
parent | upstream: Change "login again" to "log in again" (diff) | |
download | openssh-11a5e5179077f73c2d45bcdf3f60153ae3f17815.tar.xz openssh-11a5e5179077f73c2d45bcdf3f60153ae3f17815.zip |
upstream: Expand $SSH to absolute path if it's not already.
Prevents problem later in increase_datafile_size if ssh is not in
the path. Patch from quaresmajose via GHPR#510.
OpenBSD-Regress-ID: 2670a66af8b827410ca7139f0a89f4501cece77b
-rw-r--r-- | regress/test-exec.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 307f002e6..62c00fd8c 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh @@ -1,4 +1,4 @@ -# $OpenBSD: test-exec.sh,v 1.121 2024/10/22 07:13:28 dtucker Exp $ +# $OpenBSD: test-exec.sh,v 1.122 2024/12/06 07:05:54 dtucker Exp $ # Placed in the Public Domain. #SUDO=sudo @@ -184,6 +184,11 @@ case "$SSHD" in *) SSHD=`which $SSHD` ;; esac +case "$SSH" in +/*) ;; +*) SSH=`which $SSH` ;; +esac + case "$SSHAGENT" in /*) ;; *) SSHAGENT=`which $SSHAGENT` ;; |