summaryrefslogtreecommitdiff
path: root/regress/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/Makefile')
-rw-r--r--regress/Makefile41
1 files changed, 27 insertions, 14 deletions
diff --git a/regress/Makefile b/regress/Makefile
index 491a3a46a..17e0a06e8 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -1,7 +1,11 @@
1# $OpenBSD: Makefile,v 1.100 2019/01/20 23:24:19 djm Exp $ 1# $OpenBSD: Makefile,v 1.104 2019/09/03 08:37:45 djm Exp $
2 2
3REGRESS_TARGETS= unit t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t-exec 3tests: prep file-tests t-exec unit
4tests: prep $(REGRESS_TARGETS) 4
5REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12
6
7# File based tests
8file-tests: $(REGRESS_TARGETS)
5 9
6# Interop tests are not run by default 10# Interop tests are not run by default
7interop interop-tests: t-exec-interop 11interop interop-tests: t-exec-interop
@@ -26,6 +30,7 @@ LTESTS= connect \
26 transfer \ 30 transfer \
27 banner \ 31 banner \
28 rekey \ 32 rekey \
33 dhgex \
29 stderr-data \ 34 stderr-data \
30 stderr-after-eof \ 35 stderr-after-eof \
31 broken-pipe \ 36 broken-pipe \
@@ -83,10 +88,10 @@ LTESTS= connect \
83 cert-file \ 88 cert-file \
84 cfginclude \ 89 cfginclude \
85 allow-deny-users \ 90 allow-deny-users \
86 authinfo 91 authinfo \
92 sshsig
87 93
88 94
89# dhgex \
90 95
91INTEROP_TESTS= putty-transfer putty-ciphers putty-kex conch-ciphers 96INTEROP_TESTS= putty-transfer putty-ciphers putty-kex conch-ciphers
92#INTEROP_TESTS+=ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp 97#INTEROP_TESTS+=ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp
@@ -102,20 +107,20 @@ CLEANFILES= *.core actual agent-key.* authorized_keys_${USERNAME} \
102 copy.1 copy.2 data ed25519-agent ed25519-agent* \ 107 copy.1 copy.2 data ed25519-agent ed25519-agent* \
103 ed25519-agent.pub ed25519 ed25519.pub empty.in \ 108 ed25519-agent.pub ed25519 ed25519.pub empty.in \
104 expect failed-regress.log failed-ssh.log failed-sshd.log \ 109 expect failed-regress.log failed-ssh.log failed-sshd.log \
105 hkr.* host.ed25519 host.rsa host.rsa1 host_* \ 110 hkr.* host.ecdsa-sha2-nistp256 host.ecdsa-sha2-nistp384 \
106 host_ca_key* host_krl_* host_revoked_* key.* \ 111 host.ecdsa-sha2-nistp521 host.ssh-dss host.ssh-ed25519 \
112 host.ssh-rsa host_ca_key* host_krl_* host_revoked_* key.* \
107 key.dsa-* key.ecdsa-* key.ed25519-512 \ 113 key.dsa-* key.ecdsa-* key.ed25519-512 \
108 key.ed25519-512.pub key.rsa-* keys-command-args kh.* \ 114 key.ed25519-512.pub key.rsa-* keys-command-args kh.* \
109 known_hosts known_hosts-cert known_hosts.* krl-* ls.copy \ 115 known_hosts known_hosts-cert known_hosts.* krl-* ls.copy \
110 modpipe netcat no_identity_config \ 116 modpipe netcat no_identity_config \
111 pidfile putty.rsa2 ready regress.log \ 117 pidfile putty.rsa2 ready regress.log remote_pid \
112 remote_pid revoked-* rsa rsa-agent rsa-agent.pub rsa.pub \ 118 revoked-* rsa rsa-agent rsa-agent.pub rsa.pub rsa_ssh2_cr.prv \
113 rsa1 rsa1-agent rsa1-agent.pub rsa1.pub rsa_ssh2_cr.prv \
114 rsa_ssh2_crnl.prv scp-ssh-wrapper.exe \ 119 rsa_ssh2_crnl.prv scp-ssh-wrapper.exe \
115 scp-ssh-wrapper.scp setuid-allowed sftp-server.log \ 120 scp-ssh-wrapper.scp setuid-allowed sftp-server.log \
116 sftp-server.sh sftp.log ssh-log-wrapper.sh \ 121 sftp-server.sh sftp.log ssh-log-wrapper.sh ssh.log \
117 ssh-rsa_oldfmt ssh-rsa_oldfmt.pub \ 122 ssh-rsa_oldfmt ssh-rsa_oldfmt.pub \
118 ssh.log ssh_config ssh_config.* ssh_proxy ssh_proxy_bak \ 123 ssh_config ssh_config.* ssh_proxy ssh_proxy_bak \
119 ssh_proxy_envpass sshd.log sshd_config sshd_config_minimal \ 124 ssh_proxy_envpass sshd.log sshd_config sshd_config_minimal \
120 sshd_config.orig sshd_proxy sshd_proxy.* sshd_proxy_bak \ 125 sshd_config.orig sshd_proxy sshd_proxy.* sshd_proxy_bak \
121 sshd_proxy_orig t10.out t10.out.pub t12.out t12.out.pub \ 126 sshd_proxy_orig t10.out t10.out.pub t12.out t12.out.pub \
@@ -205,8 +210,16 @@ t12: $(OBJ)/t12.out
205t-exec: ${LTESTS:=.sh} 210t-exec: ${LTESTS:=.sh}
206 @if [ "x$?" = "x" ]; then exit 0; fi; \ 211 @if [ "x$?" = "x" ]; then exit 0; fi; \
207 for TEST in ""$?; do \ 212 for TEST in ""$?; do \
208 echo "run test $${TEST}" ... 1>&2; \ 213 skip=no; \
209 (env SUDO="${SUDO}" TEST_ENV=${TEST_ENV} ${TEST_SHELL} ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/$${TEST}) || exit $$?; \ 214 for t in ""$${SKIP_LTESTS}; do \
215 if [ "x$${t}.sh" = "x$${TEST}" ]; then skip=yes; fi; \
216 done; \
217 if [ "x$${skip}" = "xno" ]; then \
218 echo "run test $${TEST}" ... 1>&2; \
219 (env SUDO="${SUDO}" TEST_ENV=${TEST_ENV} ${TEST_SHELL} ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/$${TEST}) || exit $$?; \
220 else \
221 echo skip test $${TEST} 1>&2; \
222 fi; \
210 done 223 done
211 224
212t-exec-interop: ${INTEROP_TESTS:=.sh} 225t-exec-interop: ${INTEROP_TESTS:=.sh}