diff options
Diffstat (limited to 'regress/test-exec.sh')
-rw-r--r-- | regress/test-exec.sh | 12 |
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}" |
102 | fi | 102 | fi |
103 | if [ "x$TEST_SSH_PLINK" != "x" ]; then | 103 | if [ "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 | ||
105 | fi | 109 | fi |
106 | if [ "x$TEST_SSH_PUTTYGEN" != "x" ]; then | 110 | if [ "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 | ||
108 | fi | 116 | fi |
109 | 117 | ||
110 | # Path to sshd must be absolute for rexec | 118 | # Path to sshd must be absolute for rexec |