1 # $OpenBSD: Makefile,v 1.23 2003/06/12 15:43:32 markus Exp $
3 REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7
5 CLEANFILES+= t2.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2
34 CLEANFILES+= authorized_keys_${USER} known_hosts pidfile \
35 ssh_config ssh_proxy sshd_config sshd_proxy \
36 rsa.pub rsa rsa1.pub rsa1 host.rsa host.rsa1 \
37 rsa-agent rsa-agent.pub rsa1-agent rsa1-agent.pub \
40 #LTESTS+= ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp
43 ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv
46 cat ${.CURDIR}/rsa_openssh.prv > t2.out
48 ssh-keygen -yf t2.out | diff - ${.CURDIR}/rsa_openssh.pub
51 ssh-keygen -ef ${.CURDIR}/rsa_openssh.pub |\
52 ssh-keygen -if /dev/stdin |\
53 diff - ${.CURDIR}/rsa_openssh.pub
56 ssh-keygen -lf ${.CURDIR}/rsa_openssh.pub |\
57 awk '{print $$2}' | diff - ${.CURDIR}/t4.ok
60 ssh-keygen -Bf ${.CURDIR}/rsa_openssh.pub |\
61 awk '{print $$2}' | diff - ${.CURDIR}/t5.ok
64 ssh-keygen -if ${.CURDIR}/dsa_ssh2.prv > t6.out1
65 ssh-keygen -if ${.CURDIR}/dsa_ssh2.pub > t6.out2
67 ssh-keygen -yf t6.out1 | diff - t6.out2
70 ssh-keygen -q -t rsa -N '' -f $@
73 ssh-keygen -lf t7.out > /dev/null
74 ssh-keygen -Bf t7.out > /dev/null
77 REGRESS_TARGETS+=t-${t}
79 sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/${t}.sh
82 .include "bsd.regress.mk"