summaryrefslogtreecommitdiff
path: root/regress/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/Makefile')
-rw-r--r--regress/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/regress/Makefile b/regress/Makefile
index f51307f02..d5668f08f 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -53,12 +53,16 @@ LTESTS= connect \
53 localcommand \ 53 localcommand \
54 forcecommand \ 54 forcecommand \
55 portnum \ 55 portnum \
56 keytype \
57 kextype \
56 cert-hostkey \ 58 cert-hostkey \
57 cert-userkey 59 cert-userkey
58 60
59INTEROP_TESTS= putty-transfer putty-ciphers putty-kex conch-ciphers 61INTEROP_TESTS= putty-transfer putty-ciphers putty-kex conch-ciphers
60#INTEROP_TESTS+=ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp 62#INTEROP_TESTS+=ssh-com ssh-com-client ssh-com-keygen ssh-com-sftp
61 63
64#LTESTS= cipher-speed
65
62USER!= id -un 66USER!= id -un
63CLEANFILES= t2.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2 \ 67CLEANFILES= t2.out t6.out1 t6.out2 t7.out t7.out.pub copy.1 copy.2 \
64 t8.out t8.out.pub t9.out t9.out.pub \ 68 t8.out t8.out.pub t9.out t9.out.pub \
@@ -78,6 +82,10 @@ TEST_ENV= "MALLOC_OPTIONS=AFGJPRX"
78 82
79t1: 83t1:
80 ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv 84 ssh-keygen -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv
85 tr '\n' '\r' <${.CURDIR}/rsa_ssh2.prv > ${.OBJDIR}/rsa_ssh2_cr.prv
86 ssh-keygen -if ${.OBJDIR}/rsa_ssh2_cr.prv | diff - ${.CURDIR}/rsa_openssh.prv
87 awk '{print $$0 "\r"}' ${.CURDIR}/rsa_ssh2.prv > ${.OBJDIR}/rsa_ssh2_crnl.prv
88 ssh-keygen -if ${.OBJDIR}/rsa_ssh2_crnl.prv | diff - ${.CURDIR}/rsa_openssh.prv
81 89
82t2: 90t2:
83 cat ${.CURDIR}/rsa_openssh.prv > $(OBJ)/t2.out 91 cat ${.CURDIR}/rsa_openssh.prv > $(OBJ)/t2.out
@@ -110,6 +118,23 @@ t7: $(OBJ)/t7.out
110 ssh-keygen -lf $(OBJ)/t7.out > /dev/null 118 ssh-keygen -lf $(OBJ)/t7.out > /dev/null
111 ssh-keygen -Bf $(OBJ)/t7.out > /dev/null 119 ssh-keygen -Bf $(OBJ)/t7.out > /dev/null
112 120
121t8.out:
122 ssh-keygen -q -t dsa -N '' -f $@
123
124t8: t8.out
125 ssh-keygen -lf t8.out > /dev/null
126 ssh-keygen -Bf t8.out > /dev/null
127
128t9.out:
129 test "${TEST_SSH_ECC}" != yes || \
130 ssh-keygen -q -t ecdsa -N '' -f
131
132t9: t9.out
133 test "${TEST_SSH_ECC}" != yes || \
134 ssh-keygen -lf t9.out > /dev/null
135 test "${TEST_SSH_ECC}" != yes || \
136 ssh-keygen -Bf t9.out > /dev/null
137
113t-exec: ${LTESTS:=.sh} 138t-exec: ${LTESTS:=.sh}
114 @if [ "x$?" = "x" ]; then exit 0; fi; \ 139 @if [ "x$?" = "x" ]; then exit 0; fi; \
115 for TEST in ""$?; do \ 140 for TEST in ""$?; do \
@@ -124,3 +149,5 @@ t-exec-interop: ${INTEROP_TESTS:=.sh}
124 (env SUDO="${SUDO}" TEST_ENV=${TEST_ENV} sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/$${TEST}) || exit $$?; \ 149 (env SUDO="${SUDO}" TEST_ENV=${TEST_ENV} sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/$${TEST}) || exit $$?; \
125 done 150 done
126 151
152# Not run by default
153interop: ${INTEROP_TARGETS}