summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2003-09-09 06:07:10 -0700
committerTim Rice <tim@multitalents.net>2003-09-09 06:07:10 -0700
commit8b2157d86ae1e9a36f200d61597b84322857db8e (patch)
treea7ec0fb907cde4c23a706695c339d7301ec0777b /regress
parent2e0e38e3107381c18b99d55548f29252138c4622 (diff)
[regress/Makefile] Fixes for building outside of a read-only source tree.
Diffstat (limited to 'regress')
-rw-r--r--regress/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/regress/Makefile b/regress/Makefile
index 3e6a2483e..ce876d483 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -50,9 +50,9 @@ t1:
50 ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv 50 ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv
51 51
52t2: 52t2:
53 cat ${.CURDIR}/rsa_openssh.prv > t2.out 53 cat ${.CURDIR}/rsa_openssh.prv > $(OBJ)/t2.out
54 chmod 600 t2.out 54 chmod 600 $(OBJ)/t2.out
55 ssh-keygen -yf t2.out | diff - ${.CURDIR}/rsa_openssh.pub 55 ssh-keygen -yf $(OBJ)/t2.out | diff - ${.CURDIR}/rsa_openssh.pub
56 56
57t3: 57t3:
58 ssh-keygen -ef ${.CURDIR}/rsa_openssh.pub >$(OBJ)/rsa_secsh.pub 58 ssh-keygen -ef ${.CURDIR}/rsa_openssh.pub >$(OBJ)/rsa_secsh.pub
@@ -68,17 +68,17 @@ t5:
68 awk '{print $$2}' | diff - ${.CURDIR}/t5.ok 68 awk '{print $$2}' | diff - ${.CURDIR}/t5.ok
69 69
70t6: 70t6:
71 ssh-keygen -if ${.CURDIR}/dsa_ssh2.prv > t6.out1 71 ssh-keygen -if ${.CURDIR}/dsa_ssh2.prv > $(OBJ)/t6.out1
72 ssh-keygen -if ${.CURDIR}/dsa_ssh2.pub > t6.out2 72 ssh-keygen -if ${.CURDIR}/dsa_ssh2.pub > $(OBJ)/t6.out2
73 chmod 600 t6.out1 73 chmod 600 $(OBJ)/t6.out1
74 ssh-keygen -yf t6.out1 | diff - t6.out2 74 ssh-keygen -yf $(OBJ)/t6.out1 | diff - $(OBJ)/t6.out2
75 75
76t7.out: 76$(OBJ)/t7.out:
77 ssh-keygen -q -t rsa -N '' -f $@ 77 ssh-keygen -q -t rsa -N '' -f $@
78 78
79t7: t7.out 79t7: $(OBJ)/t7.out
80 ssh-keygen -lf t7.out > /dev/null 80 ssh-keygen -lf $(OBJ)/t7.out > /dev/null
81 ssh-keygen -Bf t7.out > /dev/null 81 ssh-keygen -Bf $(OBJ)/t7.out > /dev/null
82 82
83t-exec: ${LTESTS:=.sh} 83t-exec: ${LTESTS:=.sh}
84 @if [ "x$?" = "x" ]; then exit 0; fi; \ 84 @if [ "x$?" = "x" ]; then exit 0; fi; \