1 # $OpenBSD: Makefile,v 1.13 2002/04/01 22:15:08 markus Exp $
3 REGRESSTARGETS= t1 t2 t3 t4 t5 t6 t7
5 CLEANFILES+= t2.out t6.out1 t6.out2 t7.out t7.out.pub
25 CLEANFILES+= authorized_keys_${USER} known_hosts pidfile \
26 ssh_config ssh_proxy sshd_config sshd_proxy \
27 rsa.pub rsa rsa1.pub rsa1 host.rsa host.rsa1 \
28 rsa-agent rsa-agent.pub rsa1-agent rsa1-agent.pub \
31 #LTESTS+= ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp
34 ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv
37 cat ${.CURDIR}/rsa_openssh.prv > t2.out
39 ssh-keygen -yf t2.out | diff - ${.CURDIR}/rsa_openssh.pub
42 ssh-keygen -ef ${.CURDIR}/rsa_openssh.pub |\
43 ssh-keygen -if /dev/stdin |\
44 diff - ${.CURDIR}/rsa_openssh.pub
47 ssh-keygen -lf ${.CURDIR}/rsa_openssh.pub |\
48 awk '{print $$2}' | diff - ${.CURDIR}/t4.ok
51 ssh-keygen -Bf ${.CURDIR}/rsa_openssh.pub |\
52 awk '{print $$2}' | diff - ${.CURDIR}/t5.ok
55 ssh-keygen -if ${.CURDIR}/dsa_ssh2.prv > t6.out1
56 ssh-keygen -if ${.CURDIR}/dsa_ssh2.pub > t6.out2
58 ssh-keygen -yf t6.out1 | diff - t6.out2
61 ssh-keygen -q -t rsa -N '' -f $@
64 ssh-keygen -lf t7.out > /dev/null
65 ssh-keygen -Bf t7.out > /dev/null
68 REGRESSTARGETS+=t-${t}
70 sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/${t}.sh
73 .include "bsd.regress.mk"