]> andersk Git - gssapi-openssh.git/blame - openssh/regress/Makefile
should have been ignored by cvs
[gssapi-openssh.git] / openssh / regress / Makefile
CommitLineData
6a9b3198 1# $OpenBSD: Makefile,v 1.20 2003/01/08 23:54:22 djm Exp $
700318f3 2
6a9b3198 3REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7
700318f3 4
6a9b3198 5CLEANFILES+= t2.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2
700318f3 6
7LTESTS= connect \
8 proxy-connect \
9 connect-privsep \
10 proto-version \
11 proto-mismatch \
12 exit-status \
13 transfer \
14 stderr-data \
15 stderr-after-eof \
16 broken-pipe \
17 try-ciphers \
18 yes-head \
19 agent \
6a9b3198 20 agent-getpeereid \
21 agent-timeout \
22 agent-ptrace \
700318f3 23 keyscan \
6a9b3198 24 keygen-change \
700318f3 25 sftp \
6a9b3198 26 sftp-cmds \
27 sftp-batch \
700318f3 28 forwarding
29
30USER!= id -un
31CLEANFILES+= 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 \
35 ls.copy
36
37#LTESTS+= ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp
38
39t1:
40 ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv
41
42t2:
43 cat ${.CURDIR}/rsa_openssh.prv > t2.out
44 chmod 600 t2.out
45 ssh-keygen -yf t2.out | diff - ${.CURDIR}/rsa_openssh.pub
46
47t3:
48 ssh-keygen -ef ${.CURDIR}/rsa_openssh.pub |\
49 ssh-keygen -if /dev/stdin |\
50 diff - ${.CURDIR}/rsa_openssh.pub
51
52t4:
53 ssh-keygen -lf ${.CURDIR}/rsa_openssh.pub |\
54 awk '{print $$2}' | diff - ${.CURDIR}/t4.ok
55
56t5:
57 ssh-keygen -Bf ${.CURDIR}/rsa_openssh.pub |\
58 awk '{print $$2}' | diff - ${.CURDIR}/t5.ok
59
60t6:
61 ssh-keygen -if ${.CURDIR}/dsa_ssh2.prv > t6.out1
62 ssh-keygen -if ${.CURDIR}/dsa_ssh2.pub > t6.out2
63 chmod 600 t6.out1
64 ssh-keygen -yf t6.out1 | diff - t6.out2
65
66t7.out:
67 ssh-keygen -q -t rsa -N '' -f $@
68
69t7: t7.out
70 ssh-keygen -lf t7.out > /dev/null
71 ssh-keygen -Bf t7.out > /dev/null
72
73.for t in ${LTESTS}
6a9b3198 74REGRESS_TARGETS+=t-${t}
700318f3 75t-${t}:
76 sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/${t}.sh
77.endfor
78
79.include "bsd.regress.mk"
This page took 0.058518 seconds and 5 git commands to generate.