diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/test-exec.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index e67dd7b5d..89470682b 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: test-exec.sh,v 1.31 2007/12/21 04:13:53 djm Exp $ | 1 | # $OpenBSD: test-exec.sh,v 1.32 2008/06/09 18:06:32 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | #SUDO=sudo | 4 | #SUDO=sudo |
@@ -287,9 +287,10 @@ for t in rsa rsa1; do | |||
287 | done | 287 | done |
288 | chmod 644 $OBJ/authorized_keys_$USER | 288 | chmod 644 $OBJ/authorized_keys_$USER |
289 | 289 | ||
290 | # If PuTTY is present, prepare keys and configuration | 290 | # If PuTTY is present and we are running a PuTTY test, prepare keys and |
291 | # configuration | ||
291 | REGRESS_INTEROP_PUTTY=no | 292 | REGRESS_INTEROP_PUTTY=no |
292 | if test -x "$PUTTYGEN" -a -x "$PLINK" ; then | 293 | if test -x $PUTTYGEN -a -x $PLINK && [[ $SCRIPT = *putty* ]] ; then |
293 | mkdir -p ${OBJ}/.putty | 294 | mkdir -p ${OBJ}/.putty |
294 | 295 | ||
295 | # Add a PuTTY key to authorized_keys | 296 | # Add a PuTTY key to authorized_keys |