diff options
-rw-r--r-- | regress/usr.bin/ssh/Makefile | 4 | ||||
-rw-r--r-- | regress/usr.bin/ssh/test-exec.sh | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/regress/usr.bin/ssh/Makefile b/regress/usr.bin/ssh/Makefile index 63de3c643d7..c17afbd0c45 100644 --- a/regress/usr.bin/ssh/Makefile +++ b/regress/usr.bin/ssh/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.34 2004/12/10 01:31:30 fgsch Exp $ +# $OpenBSD: Makefile,v 1.35 2005/01/14 04:21:18 david Exp $ REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 @@ -86,7 +86,7 @@ t7: t7.out .for t in ${LTESTS} REGRESS_TARGETS+=t-${t} t-${t}: - sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/${t}.sh + env SUDO=${SUDO} sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/${t}.sh .endfor .include <bsd.regress.mk> diff --git a/regress/usr.bin/ssh/test-exec.sh b/regress/usr.bin/ssh/test-exec.sh index c5a00fc1798..0aa45ce2c14 100644 --- a/regress/usr.bin/ssh/test-exec.sh +++ b/regress/usr.bin/ssh/test-exec.sh @@ -1,8 +1,7 @@ -# $OpenBSD: test-exec.sh,v 1.25 2004/12/06 10:49:56 dtucker Exp $ +# $OpenBSD: test-exec.sh,v 1.26 2005/01/14 04:21:18 david Exp $ # Placed in the Public Domain. USER=`id -un` -SUDO= #SUDO=sudo if [ ! -z "$TEST_SSH_PORT" ]; then |