summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2006-03-13 08:48:29 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2006-03-13 08:48:29 +0000
commitfaeff2d2bef3f86f04fa1549cb4adef7899a7f78 (patch)
treeacf338b201b7b71fbec9f474fe959408bea2c831 /regress/usr.bin
parente6ae74e5c05a7adb1086dd15d17f894378a712dd (diff)
regress test for alternate line terminations for IETF key conversion, ok djm@
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/ssh/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/regress/usr.bin/ssh/Makefile b/regress/usr.bin/ssh/Makefile
index 4b2bf222aa3..6ee928981ce 100644
--- a/regress/usr.bin/ssh/Makefile
+++ b/regress/usr.bin/ssh/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.36 2005/03/04 08:48:46 djm Exp $
+# $OpenBSD: Makefile,v 1.37 2006/03/13 08:48:28 dtucker Exp $
REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7
@@ -51,6 +51,10 @@ CLEANFILES+= authorized_keys_${USER} known_hosts pidfile \
t1:
ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv
+ sed 's/$$/\r/g' ${.CURDIR}/rsa_ssh2.prv > ${OBJ}/rsa_ssh2_crnl.prv
+ ssh-keygen -if ${OBJ}/rsa_ssh2_crnl.prv | diff - ${.CURDIR}/rsa_openssh.prv
+ tr '\n' '\r' <${.CURDIR}/rsa_ssh2.prv > ${OBJ}/rsa_ssh2_cr.prv
+ ssh-keygen -if ${OBJ}/rsa_ssh2_cr.prv | diff - ${.CURDIR}/rsa_openssh.prv
t2:
cat ${.CURDIR}/rsa_openssh.prv > t2.out