1 # $OpenBSD: Makefile,v 1.20 2003/01/08 23:54:22 djm 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
31 CLEANFILES+= authorized_keys_${USER} known_hosts pidfile \
32 ssh_config ssh_proxy sshd_config sshd_proxy \
33 rsa.pub rsa rsa1.pub rsa1 host.rsa host.rsa1 \
34 rsa-agent rsa-agent.pub rsa1-agent rsa1-agent.pub \
37 #LTESTS+= ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp
40 ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv
43 cat ${.CURDIR}/rsa_openssh.prv > t2.out
45 ssh-keygen -yf t2.out | diff - ${.CURDIR}/rsa_openssh.pub
48 ssh-keygen -ef ${.CURDIR}/rsa_openssh.pub |\
49 ssh-keygen -if /dev/stdin |\
50 diff - ${.CURDIR}/rsa_openssh.pub
53 ssh-keygen -lf ${.CURDIR}/rsa_openssh.pub |\
54 awk '{print $$2}' | diff - ${.CURDIR}/t4.ok
57 ssh-keygen -Bf ${.CURDIR}/rsa_openssh.pub |\
58 awk '{print $$2}' | diff - ${.CURDIR}/t5.ok
61 ssh-keygen -if ${.CURDIR}/dsa_ssh2.prv > t6.out1
62 ssh-keygen -if ${.CURDIR}/dsa_ssh2.pub > t6.out2
64 ssh-keygen -yf t6.out1 | diff - t6.out2
67 ssh-keygen -q -t rsa -N '' -f $@
70 ssh-keygen -lf t7.out > /dev/null
71 ssh-keygen -Bf t7.out > /dev/null
74 REGRESS_TARGETS+=t-${t}
76 sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/${t}.sh
79 .include "bsd.regress.mk"