summaryrefslogtreecommitdiff
path: root/regress/test-exec.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/test-exec.sh')
-rw-r--r--regress/test-exec.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 4e69658ce..a57e46e59 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: test-exec.sh,v 1.24 2004/11/25 09:39:27 dtucker Exp $ 1# $OpenBSD: test-exec.sh,v 1.25 2004/12/06 10:49:56 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4#SUDO=sudo 4#SUDO=sudo
@@ -83,7 +83,9 @@ if [ "x$TEST_SSH_SCP" != "x" ]; then
83fi 83fi
84 84
85# Path to sshd must be absolute for rexec 85# Path to sshd must be absolute for rexec
86SSHD=`which sshd` 86if [ ! -x /$SSHD ]; then
87 SSHD=`which sshd`
88fi
87 89
88# these should be used in tests 90# these should be used in tests
89export SSH SSHD SSHAGENT SSHADD SSHKEYGEN SSHKEYSCAN SFTP SFTPSERVER SCP 91export SSH SSHD SSHAGENT SSHADD SSHKEYGEN SSHKEYSCAN SFTP SFTPSERVER SCP