diff options
author | Tim Rice <tim@multitalents.net> | 2003-09-09 06:07:10 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2003-09-09 06:07:10 -0700 |
commit | 8b2157d86ae1e9a36f200d61597b84322857db8e (patch) | |
tree | a7ec0fb907cde4c23a706695c339d7301ec0777b /regress/Makefile | |
parent | 2e0e38e3107381c18b99d55548f29252138c4622 (diff) |
[regress/Makefile] Fixes for building outside of a read-only source tree.
Diffstat (limited to 'regress/Makefile')
-rw-r--r-- | regress/Makefile | 22 |
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 | ||
52 | t2: | 52 | t2: |
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 | ||
57 | t3: | 57 | t3: |
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 | ||
70 | t6: | 70 | t6: |
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 | ||
76 | t7.out: | 76 | $(OBJ)/t7.out: |
77 | ssh-keygen -q -t rsa -N '' -f $@ | 77 | ssh-keygen -q -t rsa -N '' -f $@ |
78 | 78 | ||
79 | t7: t7.out | 79 | t7: $(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 | ||
83 | t-exec: ${LTESTS:=.sh} | 83 | t-exec: ${LTESTS:=.sh} |
84 | @if [ "x$?" = "x" ]; then exit 0; fi; \ | 84 | @if [ "x$?" = "x" ]; then exit 0; fi; \ |