summaryrefslogtreecommitdiff
path: root/regress/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/Makefile')
-rw-r--r--regress/Makefile20
1 files changed, 16 insertions, 4 deletions
diff --git a/regress/Makefile b/regress/Makefile
index ab2a6ae7b..0c66b1774 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -1,6 +1,6 @@
1# $OpenBSD: Makefile,v 1.65 2013/04/18 02:46:12 djm Exp $ 1# $OpenBSD: Makefile,v 1.67 2013/12/06 13:52:46 markus Exp $
2 2
3REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t8 t9 t-exec 3REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t-exec
4tests: $(REGRESS_TARGETS) 4tests: $(REGRESS_TARGETS)
5 5
6# Interop tests are not run by default 6# Interop tests are not run by default
@@ -44,6 +44,7 @@ LTESTS= connect \
44 sftp-badcmds \ 44 sftp-badcmds \
45 sftp-batch \ 45 sftp-batch \
46 sftp-glob \ 46 sftp-glob \
47 sftp-perm \
47 reconfigure \ 48 reconfigure \
48 dynamic-forward \ 49 dynamic-forward \
49 forwarding \ 50 forwarding \
@@ -72,7 +73,7 @@ INTEROP_TESTS= putty-transfer putty-ciphers putty-kex conch-ciphers
72 73
73USER!= id -un 74USER!= id -un
74CLEANFILES= t2.out t3.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2 \ 75CLEANFILES= t2.out t3.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2 \
75 t8.out t8.out.pub t9.out t9.out.pub \ 76 t8.out t8.out.pub t9.out t9.out.pub t10.out t10.out.pub \
76 authorized_keys_${USER} known_hosts pidfile testdata \ 77 authorized_keys_${USER} known_hosts pidfile testdata \
77 ssh_config sshd_config.orig ssh_proxy sshd_config sshd_proxy \ 78 ssh_config sshd_config.orig ssh_proxy sshd_config sshd_proxy \
78 rsa.pub rsa rsa1.pub rsa1 host.rsa host.rsa1 \ 79 rsa.pub rsa rsa1.pub rsa1 host.rsa host.rsa1 \
@@ -86,7 +87,10 @@ CLEANFILES= t2.out t3.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2 \
86 authorized_principals_${USER} expect actual ready \ 87 authorized_principals_${USER} expect actual ready \
87 sshd_proxy.* authorized_keys_${USER}.* modpipe revoked-* krl-* \ 88 sshd_proxy.* authorized_keys_${USER}.* modpipe revoked-* krl-* \
88 ssh.log failed-ssh.log sshd.log failed-sshd.log \ 89 ssh.log failed-ssh.log sshd.log failed-sshd.log \
89 regress.log failed-regress.log ssh-log-wrapper.sh 90 regress.log failed-regress.log ssh-log-wrapper.sh \
91 sftp-server.sh sftp-server.log sftp.log setuid-allowed \
92 data ed25519-agent ed25519-agent.pub key.ed25519-512 \
93 key.ed25519-512.pub
90 94
91SUDO_CLEAN+= /var/run/testdata_${USER} /var/run/keycommand_${USER} 95SUDO_CLEAN+= /var/run/testdata_${USER} /var/run/keycommand_${USER}
92 96
@@ -151,6 +155,14 @@ t9: $(OBJ)/t9.out
151 test "${TEST_SSH_ECC}" != yes || \ 155 test "${TEST_SSH_ECC}" != yes || \
152 ${TEST_SSH_SSHKEYGEN} -Bf $(OBJ)/t9.out > /dev/null 156 ${TEST_SSH_SSHKEYGEN} -Bf $(OBJ)/t9.out > /dev/null
153 157
158
159$(OBJ)/t10.out:
160 ${TEST_SSH_SSHKEYGEN} -q -t ed25519 -N '' -f $@
161
162t10: $(OBJ)/t10.out
163 ${TEST_SSH_SSHKEYGEN} -lf $(OBJ)/t10.out > /dev/null
164 ${TEST_SSH_SSHKEYGEN} -Bf $(OBJ)/t10.out > /dev/null
165
154t-exec: ${LTESTS:=.sh} 166t-exec: ${LTESTS:=.sh}
155 @if [ "x$?" = "x" ]; then exit 0; fi; \ 167 @if [ "x$?" = "x" ]; then exit 0; fi; \
156 for TEST in ""$?; do \ 168 for TEST in ""$?; do \