]> andersk Git - gssapi-openssh.git/blame - openssh/regress/Makefile
Import of OpenSSH 3.2.2p1
[gssapi-openssh.git] / openssh / regress / Makefile
CommitLineData
700318f3 1# $OpenBSD: Makefile,v 1.13 2002/04/01 22:15:08 markus Exp $
2
3REGRESSTARGETS= t1 t2 t3 t4 t5 t6 t7
4
5CLEANFILES+= t2.out t6.out1 t6.out2 t7.out t7.out.pub
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 \
20 keyscan \
21 sftp \
22 forwarding
23
24USER!= id -un
25CLEANFILES+= 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 \
29 ls.copy
30
31#LTESTS+= ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp
32
33t1:
34 ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv
35
36t2:
37 cat ${.CURDIR}/rsa_openssh.prv > t2.out
38 chmod 600 t2.out
39 ssh-keygen -yf t2.out | diff - ${.CURDIR}/rsa_openssh.pub
40
41t3:
42 ssh-keygen -ef ${.CURDIR}/rsa_openssh.pub |\
43 ssh-keygen -if /dev/stdin |\
44 diff - ${.CURDIR}/rsa_openssh.pub
45
46t4:
47 ssh-keygen -lf ${.CURDIR}/rsa_openssh.pub |\
48 awk '{print $$2}' | diff - ${.CURDIR}/t4.ok
49
50t5:
51 ssh-keygen -Bf ${.CURDIR}/rsa_openssh.pub |\
52 awk '{print $$2}' | diff - ${.CURDIR}/t5.ok
53
54t6:
55 ssh-keygen -if ${.CURDIR}/dsa_ssh2.prv > t6.out1
56 ssh-keygen -if ${.CURDIR}/dsa_ssh2.pub > t6.out2
57 chmod 600 t6.out1
58 ssh-keygen -yf t6.out1 | diff - t6.out2
59
60t7.out:
61 ssh-keygen -q -t rsa -N '' -f $@
62
63t7: t7.out
64 ssh-keygen -lf t7.out > /dev/null
65 ssh-keygen -Bf t7.out > /dev/null
66
67.for t in ${LTESTS}
68REGRESSTARGETS+=t-${t}
69t-${t}:
70 sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/${t}.sh
71.endfor
72
73.include "bsd.regress.mk"
This page took 0.068796 seconds and 5 git commands to generate.