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, 10 insertions, 2 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 1eb9ff729..cf7665973 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -101,10 +101,18 @@ if [ "x$TEST_SSH_SCP" != "x" ]; then
101 SCP="${TEST_SSH_SCP}" 101 SCP="${TEST_SSH_SCP}"
102fi 102fi
103if [ "x$TEST_SSH_PLINK" != "x" ]; then 103if [ "x$TEST_SSH_PLINK" != "x" ]; then
104 PLINK="${TEST_SSH_PLINK}" 104 # Find real binary, if it exists
105 case "${TEST_SSH_PLINK}" in
106 /*) PLINK="${TEST_SSH_PLINK}" ;;
107 *) PLINK=`which ${TEST_SSH_PLINK}` ;;
108 esac
105fi 109fi
106if [ "x$TEST_SSH_PUTTYGEN" != "x" ]; then 110if [ "x$TEST_SSH_PUTTYGEN" != "x" ]; then
107 PUTTYGEN="${TEST_SSH_PUTTYGEN}" 111 # Find real binary, if it exists
112 case "${TEST_SSH_PUTTYGEN}" in
113 /*) PUTTYGEN="${TEST_SSH_PUTTYGEN}" ;;
114 *) PUTTYGEN=`which ${TEST_SSH_PUTTYGEN}` ;;
115 esac
108fi 116fi
109 117
110# Path to sshd must be absolute for rexec 118# Path to sshd must be absolute for rexec