2
2
3
3
tests : prep file-tests t-exec unit
4
4
5
- REGRESS_TARGETS = t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12
5
+ REGRESS_TARGETS = t1 t2 t3 t4 t5 t7 t9 t10 t11 t12
6
6
7
7
# File based tests
8
8
file-tests : $(REGRESS_TARGETS )
@@ -130,9 +130,9 @@ CLEANFILES= *.core actual agent-key.* authorized_keys_${USERNAME} \
130
130
ed25519-agent.pub ed25519 ed25519.pub empty.in \
131
131
expect failed-regress.log failed-ssh.log failed-sshd.log \
132
132
hkr.* host.ecdsa-sha2-nistp256 host.ecdsa-sha2-nistp384 \
133
- host.ecdsa-sha2-nistp521 host.ssh-dss host.ssh- ed25519 \
133
+ host.ecdsa-sha2-nistp521 host.ssh-ed25519 \
134
134
host.ssh-rsa host_ca_key* host_krl_* host_revoked_* key.* \
135
- key.dsa-* key. ecdsa-* key.ed25519-512 \
135
+ key.ecdsa-* key.ed25519-512 \
136
136
key.ed25519-512.pub key.rsa-* keys-command-args kh.* askpass \
137
137
known_hosts known_hosts-cert known_hosts.* krl-* ls.copy \
138
138
modpipe netcat no_identity_config \
@@ -191,36 +191,18 @@ t5:
191
191
${TEST_SSH_SSHKEYGEN} -Bf ${.CURDIR} /rsa_openssh.pub | \
192
192
awk ' {print $$2}' | diff - ${.CURDIR} /t5.ok ; \
193
193
fi
194
- t6 :
195
- set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q " ^ssh-dss" ; then \
196
- ${TEST_SSH_SSHKEYGEN} -if ${.CURDIR} /dsa_ssh2.prv > $(OBJ ) /t6.out1 ; \
197
- ${TEST_SSH_SSHKEYGEN} -if ${.CURDIR} /dsa_ssh2.pub > $(OBJ ) /t6.out2 ; \
198
- chmod 600 $(OBJ ) /t6.out1 ; \
199
- ${TEST_SSH_SSHKEYGEN} -yf $(OBJ ) /t6.out1 | diff - $(OBJ ) /t6.out2 ; \
200
- fi
201
194
202
195
$(OBJ ) /t7.out :
203
- set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q " ^ssh-dss " ; then \
196
+ set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q " ^ssh-rsa " ; then \
204
197
${TEST_SSH_SSHKEYGEN} -q -t rsa -N ' ' -f $@ ; \
205
198
fi
206
199
207
200
t7 : $(OBJ ) /t7.out
208
- set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q " ^ssh-dss " ; then \
201
+ set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q " ^ssh-rsa " ; then \
209
202
${TEST_SSH_SSHKEYGEN} -lf $(OBJ ) /t7.out > /dev/null ; \
210
203
${TEST_SSH_SSHKEYGEN} -Bf $(OBJ ) /t7.out > /dev/null ; \
211
204
fi
212
205
213
- $(OBJ ) /t8.out :
214
- set -xe ; if ssh -Q key | grep -q " ^ssh-dss" ; then \
215
- ${TEST_SSH_SSHKEYGEN} -q -t dsa -N ' ' -f $@ ; \
216
- fi
217
-
218
- t8 : $(OBJ ) /t8.out
219
- set -xe ; if ssh -Q key | grep -q " ^ssh-dss" ; then \
220
- ${TEST_SSH_SSHKEYGEN} -lf $(OBJ ) /t8.out > /dev/null ; \
221
- ${TEST_SSH_SSHKEYGEN} -Bf $(OBJ ) /t8.out > /dev/null ; \
222
- fi
223
-
224
206
$(OBJ ) /t9.out :
225
207
! ${TEST_SSH_SSH} -Q key-plain | grep ecdsa > /dev/null || \
226
208
${TEST_SSH_SSHKEYGEN} -q -t ecdsa -N ' ' -f $@
@@ -240,7 +222,7 @@ t10: $(OBJ)/t10.out
240
222
${TEST_SSH_SSHKEYGEN} -Bf $(OBJ ) /t10.out > /dev/null
241
223
242
224
t11 :
243
- set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q " ^ssh-dss " ; then \
225
+ set -xe ; if ${TEST_SSH_SSH} -Q key | grep -q " ^ssh-rsa " ; then \
244
226
${TEST_SSH_SSHKEYGEN} -E sha256 -lf ${.CURDIR} /rsa_openssh.pub | \
245
227
awk ' {print $$2}' | diff - ${.CURDIR} /t11.ok ; \
246
228
fi
0 commit comments