diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/test-exec.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index cf7665973..e67dd7b5d 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh | |||
@@ -104,14 +104,14 @@ if [ "x$TEST_SSH_PLINK" != "x" ]; then | |||
104 | # Find real binary, if it exists | 104 | # Find real binary, if it exists |
105 | case "${TEST_SSH_PLINK}" in | 105 | case "${TEST_SSH_PLINK}" in |
106 | /*) PLINK="${TEST_SSH_PLINK}" ;; | 106 | /*) PLINK="${TEST_SSH_PLINK}" ;; |
107 | *) PLINK=`which ${TEST_SSH_PLINK}` ;; | 107 | *) PLINK=`which ${TEST_SSH_PLINK} 2>/dev/null` ;; |
108 | esac | 108 | esac |
109 | fi | 109 | fi |
110 | if [ "x$TEST_SSH_PUTTYGEN" != "x" ]; then | 110 | if [ "x$TEST_SSH_PUTTYGEN" != "x" ]; then |
111 | # Find real binary, if it exists | 111 | # Find real binary, if it exists |
112 | case "${TEST_SSH_PUTTYGEN}" in | 112 | case "${TEST_SSH_PUTTYGEN}" in |
113 | /*) PUTTYGEN="${TEST_SSH_PUTTYGEN}" ;; | 113 | /*) PUTTYGEN="${TEST_SSH_PUTTYGEN}" ;; |
114 | *) PUTTYGEN=`which ${TEST_SSH_PUTTYGEN}` ;; | 114 | *) PUTTYGEN=`which ${TEST_SSH_PUTTYGEN} 2>/dev/null` ;; |
115 | esac | 115 | esac |
116 | fi | 116 | fi |
117 | 117 | ||
@@ -289,7 +289,7 @@ chmod 644 $OBJ/authorized_keys_$USER | |||
289 | 289 | ||
290 | # If PuTTY is present, prepare keys and configuration | 290 | # If PuTTY is present, prepare keys and configuration |
291 | REGRESS_INTEROP_PUTTY=no | 291 | REGRESS_INTEROP_PUTTY=no |
292 | if test -x $PUTTYGEN -a -x $PLINK ; then | 292 | if test -x "$PUTTYGEN" -a -x "$PLINK" ; then |
293 | mkdir -p ${OBJ}/.putty | 293 | mkdir -p ${OBJ}/.putty |
294 | 294 | ||
295 | # Add a PuTTY key to authorized_keys | 295 | # Add a PuTTY key to authorized_keys |