summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-06-11 01:38:52 +1000
committerDarren Tucker <dtucker@zip.com.au>2008-06-11 01:38:52 +1000
commit5f346649ce02bc58161610bcb455d6cefbb3a830 (patch)
treeed9bc757d6c8a704487d4ad9c6b78b36b44bddc5
parent75a55bf0c74c13ef596f31f54be421f17cb25e36 (diff)
- dtucker@cvs.openbsd.org 2008/06/10 15:21:41
[test-exec.sh] Use a more portable construct for checking if we're running a putty test
-rw-r--r--ChangeLog5
-rw-r--r--regress/test-exec.sh12
2 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c323428a3..f674a79a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -32,6 +32,9 @@
32 - dtucker@cvs.openbsd.org 2008/06/10 05:23:32 32 - dtucker@cvs.openbsd.org 2008/06/10 05:23:32
33 [regress/addrmatch.sh regress/Makefile] 33 [regress/addrmatch.sh regress/Makefile]
34 Regress test for Match CIDR rules. ok djm@ 34 Regress test for Match CIDR rules. ok djm@
35 - dtucker@cvs.openbsd.org 2008/06/10 15:21:41
36 [test-exec.sh]
37 Use a more portable construct for checking if we're running a putty test
35 - (dtucker) [openbsd-compat/fake-rfc2553.h] Add sin6_scope_id to sockaddr_in6 38 - (dtucker) [openbsd-compat/fake-rfc2553.h] Add sin6_scope_id to sockaddr_in6
36 since the new CIDR code in addmatch.c references it. 39 since the new CIDR code in addmatch.c references it.
37 40
@@ -4120,4 +4123,4 @@
4120 OpenServer 6 and add osr5bigcrypt support so when someone migrates 4123 OpenServer 6 and add osr5bigcrypt support so when someone migrates
4121 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 4124 passwords between UnixWare and OpenServer they will still work. OK dtucker@
4122 4125
4123$Id: ChangeLog,v 1.4956 2008/06/10 13:52:51 dtucker Exp $ 4126$Id: ChangeLog,v 1.4957 2008/06/10 15:38:52 dtucker Exp $
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 89470682b..f05c671cd 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: test-exec.sh,v 1.32 2008/06/09 18:06:32 dtucker Exp $ 1# $OpenBSD: test-exec.sh,v 1.33 2008/06/10 15:21:41 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4#SUDO=sudo 4#SUDO=sudo
@@ -290,7 +290,15 @@ chmod 644 $OBJ/authorized_keys_$USER
290# If PuTTY is present and we are running a PuTTY test, prepare keys and 290# If PuTTY is present and we are running a PuTTY test, prepare keys and
291# configuration 291# configuration
292REGRESS_INTEROP_PUTTY=no 292REGRESS_INTEROP_PUTTY=no
293if test -x $PUTTYGEN -a -x $PLINK && [[ $SCRIPT = *putty* ]] ; then 293if test -x $PUTTYGEN -a -x $PLINK ; then
294 REGRESS_INTEROP_PUTTY=yes
295fi
296case "$SCRIPT" in
297*putty*) ;;
298*) REGRESS_INTEROP_PUTTY=no ;;
299esac
300
301if test "$REGRESS_INTEROP_PUTTY" = "yes" ; then
294 mkdir -p ${OBJ}/.putty 302 mkdir -p ${OBJ}/.putty
295 303
296 # Add a PuTTY key to authorized_keys 304 # Add a PuTTY key to authorized_keys