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.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 652bd49d3..b54448912 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -70,9 +70,9 @@ SFTPSERVER=/usr/libexec/openssh/sftp-server
70SCP=scp 70SCP=scp
71 71
72# Interop testing 72# Interop testing
73PLINK=/usr/local/bin/plink 73PLINK=plink
74PUTTYGEN=/usr/local/bin/puttygen 74PUTTYGEN=puttygen
75CONCH=/usr/local/bin/conch 75CONCH=conch
76 76
77if [ "x$TEST_SSH_SSH" != "x" ]; then 77if [ "x$TEST_SSH_SSH" != "x" ]; then
78 SSH="${TEST_SSH_SSH}" 78 SSH="${TEST_SSH_SSH}"
@@ -116,7 +116,11 @@ if [ "x$TEST_SSH_PUTTYGEN" != "x" ]; then
116 esac 116 esac
117fi 117fi
118if [ "x$TEST_SSH_CONCH" != "x" ]; then 118if [ "x$TEST_SSH_CONCH" != "x" ]; then
119 CONCH="${TEST_SSH_CONCH}" 119 # Find real binary, if it exists
120 case "${TEST_SSH_CONCH}" in
121 /*) CONCH="${TEST_SSH_CONCH}" ;;
122 *) CONCH=`which ${TEST_SSH_CONCH} 2>/dev/null` ;;
123 esac
120fi 124fi
121 125
122# Path to sshd must be absolute for rexec 126# Path to sshd must be absolute for rexec