22
33tests : prep file-tests t-exec unit
44
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
66
77# File based tests
88file-tests : $(REGRESS_TARGETS )
@@ -130,9 +130,9 @@ CLEANFILES= *.core actual agent-key.* authorized_keys_${USERNAME} \
130130 ed25519-agent.pub ed25519 ed25519.pub empty.in \
131131 expect failed-regress.log failed-ssh.log failed-sshd.log \
132132 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 \
134134 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 \
136136 key.ed25519-512.pub key.rsa-* keys-command-args kh.* askpass \
137137 known_hosts known_hosts-cert known_hosts.* krl-* ls.copy \
138138 modpipe netcat no_identity_config \
@@ -191,36 +191,18 @@ t5:
191191 ${TEST_SSH_SSHKEYGEN} -Bf ${.CURDIR} /rsa_openssh.pub | \
192192 awk ' {print $$2}' | diff - ${.CURDIR} /t5.ok ; \
193193 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
201194
202195$(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 \
204197 ${TEST_SSH_SSHKEYGEN} -q -t rsa -N ' ' -f $@ ; \
205198 fi
206199
207200t7 : $(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 \
209202 ${TEST_SSH_SSHKEYGEN} -lf $(OBJ ) /t7.out > /dev/null ; \
210203 ${TEST_SSH_SSHKEYGEN} -Bf $(OBJ ) /t7.out > /dev/null ; \
211204 fi
212205
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-
224206$(OBJ ) /t9.out :
225207 ! ${TEST_SSH_SSH} -Q key-plain | grep ecdsa > /dev/null || \
226208 ${TEST_SSH_SSHKEYGEN} -q -t ecdsa -N ' ' -f $@
@@ -240,7 +222,7 @@ t10: $(OBJ)/t10.out
240222 ${TEST_SSH_SSHKEYGEN} -Bf $(OBJ ) /t10.out > /dev/null
241223
242224t11 :
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 \
244226 ${TEST_SSH_SSHKEYGEN} -E sha256 -lf ${.CURDIR} /rsa_openssh.pub | \
245227 awk ' {print $$2}' | diff - ${.CURDIR} /t11.ok ; \
246228 fi
0 commit comments