![]()
|
<pre>
<font color="#444444"># $OpenBSD: Makefile,v 1.20 2003/01/08 23:54:22 djm Exp $</font>
<font color="2040a0">REGRESS_TARGETS=</font> t1 t2 t3 t4 t5 t6 t7
<font color="2040a0">CLEANFILES+=</font> t2.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2
<font color="2040a0">LTESTS=</font> connect <strong>\</strong>
proxy-connect <strong>\</strong>
connect-privsep <strong>\</strong>
proto-version <strong>\</strong>
proto-mismatch <strong>\</strong>
exit-status <strong>\</strong>
transfer <strong>\</strong>
stderr-data <strong>\</strong>
stderr-after-eof <strong>\</strong>
broken-pipe <strong>\</strong>
try-ciphers <strong>\</strong>
yes-head <strong>\</strong>
agent <strong>\</strong>
agent-getpeereid <strong>\</strong>
agent-timeout <strong>\</strong>
agent-ptrace <strong>\</strong>
keyscan <strong>\</strong>
keygen-change <strong>\</strong>
sftp <strong>\</strong>
sftp-cmds <strong>\</strong>
sftp-batch <strong>\</strong>
forwarding
USER!= id -un
<font color="2040a0">CLEANFILES+=</font> authorized_keys_<font color="2040a0">${USER}</font> known_hosts pidfile <strong>\</strong>
ssh_config ssh_proxy sshd_config sshd_proxy <strong>\</strong>
rsa.pub rsa rsa1.pub rsa1 host.rsa host.rsa1 <strong>\</strong>
rsa-agent rsa-agent.pub rsa1-agent rsa1-agent.pub <strong>\</strong>
ls.copy
<font color="#444444">#LTESTS+= ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp</font>
<font color="8b2252">
<strong>t1</strong>:</font>
ssh-keygen -if <font color="2040a0">${.CURDIR}</font>/rsa_ssh2.prv | diff - <font color="2040a0">${.CURDIR}</font>/rsa_openssh.prv
<font color="8b2252">
<strong>t2</strong>:</font>
cat <font color="2040a0">${.CURDIR}</font>/rsa_openssh.prv > t2.out
chmod 600 t2.out
ssh-keygen -yf t2.out | diff - <font color="2040a0">${.CURDIR}</font>/rsa_openssh.pub
<font color="8b2252">
<strong>t3</strong>:</font>
ssh-keygen -ef <font color="2040a0">${.CURDIR}</font>/rsa_openssh.pub |<strong>\</strong>
ssh-keygen -if /dev/stdin |<strong>\</strong>
diff - <font color="2040a0">${.CURDIR}</font>/rsa_openssh.pub
<font color="8b2252">
<strong>t4</strong>:</font>
ssh-keygen -lf <font color="2040a0">${.CURDIR}</font>/rsa_openssh.pub |<strong>\</strong>
awk '{print <font color="444444">$$</font>2}' | diff - <font color="2040a0">${.CURDIR}</font>/t4.ok
<font color="8b2252">
<strong>t5</strong>:</font>
ssh-keygen -Bf <font color="2040a0">${.CURDIR}</font>/rsa_openssh.pub |<strong>\</strong>
awk '{print <font color="444444">$$</font>2}' | diff - <font color="2040a0">${.CURDIR}</font>/t5.ok
<font color="8b2252">
<strong>t6</strong>:</font>
ssh-keygen -if <font color="2040a0">${.CURDIR}</font>/dsa_ssh2.prv > t6.out1
ssh-keygen -if <font color="2040a0">${.CURDIR}</font>/dsa_ssh2.pub > t6.out2
chmod 600 t6.out1
ssh-keygen -yf t6.out1 | diff - t6.out2
<font color="8b2252">
<strong>t7.out</strong>:</font>
ssh-keygen -q -t rsa -N '' -f <font color="4080ff">$@</font>
<font color="8b2252">
<strong>t7</strong>:</font> t7.out
ssh-keygen -lf t7.out > /dev/null
ssh-keygen -Bf t7.out > /dev/null
.for t in <font color="2040a0">${LTESTS}</font>
<font color="2040a0">REGRESS_TARGETS+=</font>t-<font color="2040a0">${t}</font>
<font color="8b2252"><strong>t-${t}</strong>:</font>
sh <font color="2040a0">${.CURDIR}</font>/test-exec.sh <font color="2040a0">${.OBJDIR}</font> <font color="2040a0">${.CURDIR}</font>/<font color="2040a0">${t}</font>.sh
.endfor
.include "bsd.regress.mk"
</pre>
<hr>
syntax highlighted by <a href="http://www.palfrader.org/code2html">Code2HTML</a>, v. 0.9.1
syntax highlighted by Code2HTML, v. 0.9.1 |