summaryrefslogtreecommitdiff
path: root/regress/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/Makefile')
-rw-r--r--regress/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/regress/Makefile b/regress/Makefile
index 3b8ea245b..d25a64555 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.48 2008/06/28 13:57:25 djm Exp $ 1# $OpenBSD: Makefile,v 1.52 2010/02/26 20:33:21 djm Exp $
2 2
3REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t-exec 3REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t-exec
4tests: $(REGRESS_TARGETS) 4tests: $(REGRESS_TARGETS)
@@ -34,6 +34,7 @@ LTESTS= connect \
34 agent-ptrace \ 34 agent-ptrace \
35 keyscan \ 35 keyscan \
36 keygen-change \ 36 keygen-change \
37 keygen-convert \
37 key-options \ 38 key-options \
38 scp \ 39 scp \
39 sftp \ 40 sftp \
@@ -50,7 +51,10 @@ LTESTS= connect \
50 cfgmatch \ 51 cfgmatch \
51 addrmatch \ 52 addrmatch \
52 localcommand \ 53 localcommand \
53 forcecommand 54 forcecommand \
55 portnum \
56 cert-hostkey \
57 cert-userkey
54 58
55INTEROP_TESTS= putty-transfer putty-ciphers putty-kex conch-ciphers 59INTEROP_TESTS= putty-transfer putty-ciphers putty-kex conch-ciphers
56#INTEROP_TESTS+=ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp 60#INTEROP_TESTS+=ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp
@@ -64,7 +68,11 @@ CLEANFILES= t2.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2 \
64 ls.copy banner.in banner.out empty.in \ 68 ls.copy banner.in banner.out empty.in \
65 scp-ssh-wrapper.scp ssh_proxy_envpass remote_pid \ 69 scp-ssh-wrapper.scp ssh_proxy_envpass remote_pid \
66 sshd_proxy_bak rsa_ssh2_cr.prv rsa_ssh2_crnl.prv \ 70 sshd_proxy_bak rsa_ssh2_cr.prv rsa_ssh2_crnl.prv \
67 putty.rsa2 71 known_hosts-cert host_ca_key* cert_host_key* \
72 putty.rsa2 sshd_proxy_orig
73
74# Enable all malloc(3) randomisations and checks
75TEST_ENV= "MALLOC_OPTIONS=AFGJPRX"
68 76
69t1: 77t1:
70 ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv 78 ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv
@@ -104,13 +112,13 @@ t-exec: ${LTESTS:=.sh}
104 @if [ "x$?" = "x" ]; then exit 0; fi; \ 112 @if [ "x$?" = "x" ]; then exit 0; fi; \
105 for TEST in ""$?; do \ 113 for TEST in ""$?; do \
106 echo "run test $${TEST}" ... 1>&2; \ 114 echo "run test $${TEST}" ... 1>&2; \
107 (env SUDO=${SUDO} sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/$${TEST}) || exit $$?; \ 115 (env SUDO=${SUDO} TEST_ENV=${TEST_ENV} sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/$${TEST}) || exit $$?; \
108 done 116 done
109 117
110t-exec-interop: ${INTEROP_TESTS:=.sh} 118t-exec-interop: ${INTEROP_TESTS:=.sh}
111 @if [ "x$?" = "x" ]; then exit 0; fi; \ 119 @if [ "x$?" = "x" ]; then exit 0; fi; \
112 for TEST in ""$?; do \ 120 for TEST in ""$?; do \
113 echo "run test $${TEST}" ... 1>&2; \ 121 echo "run test $${TEST}" ... 1>&2; \
114 (env SUDO=${SUDO} sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/$${TEST}) || exit $$?; \ 122 (env SUDO=${SUDO} TEST_ENV=${TEST_ENV} sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/$${TEST}) || exit $$?; \
115 done 123 done
116 124