summaryrefslogtreecommitdiff
path: root/regress/test-exec.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-03-13 12:41:31 +1100
committerDamien Miller <djm@mindrot.org>2008-03-13 12:41:31 +1100
commitc2cefb0fe9b310d4edc3fc28e5aac2e2cfb6d6aa (patch)
treed774a5b72579a67e800f9061a9f74ff66fac96c5 /regress/test-exec.sh
parent664299613492f3c1227cba631c3dc0d75965d622 (diff)
- (djm) [Makefile.in regress/test-exec.sh] Find installed plink(1) and
puttygen(1) by $PATH
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