summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-07-02 15:38:05 +1000
committerDamien Miller <djm@mindrot.org>2014-07-02 15:38:05 +1000
commit5a96707ffc8d227c2e7d94fa6b0317f8a152cf4e (patch)
tree3add03dd4b5884747aaed2350d6f02a981366f63
parent3ff92ba756aee48e4ae3e0aeff7293517b3dd185 (diff)
- djm@cvs.openbsd.org 2014/04/30 05:32:00
[regress/Makefile] unit tests for new buffer API; including basic fuzz testing NB. Id sync only.
-rw-r--r--ChangeLog4
-rw-r--r--regress/Makefile5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 24fd3b21e..1f515b952 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -77,6 +77,10 @@
77 NB. Id sync only for these two. They were bundled into the sshkey merge 77 NB. Id sync only for these two. They were bundled into the sshkey merge
78 above, since it was easier to sync the entire file and then apply 78 above, since it was easier to sync the entire file and then apply
79 portable-specific changed atop it. 79 portable-specific changed atop it.
80 - djm@cvs.openbsd.org 2014/04/30 05:32:00
81 [regress/Makefile]
82 unit tests for new buffer API; including basic fuzz testing
83 NB. Id sync only.
80 84
8120140618 8520140618
82 - (tim) [openssh/session.c] Work around to get chroot sftp working on UnixWare 86 - (tim) [openssh/session.c] Work around to get chroot sftp working on UnixWare
diff --git a/regress/Makefile b/regress/Makefile
index 1e1f68dc3..370f28a99 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.68 2014/01/25 04:35:32 dtucker Exp $ 1# $OpenBSD: Makefile,v 1.69 2014/04/30 05:32:00 djm Exp $
2 2
3REGRESS_TARGETS= unit t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t-exec 3REGRESS_TARGETS= unit t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t-exec
4tests: $(REGRESS_TARGETS) 4tests: $(REGRESS_TARGETS)
@@ -102,6 +102,9 @@ TEST_SSH_SSHKEYGEN?=ssh-keygen
102 102
103CPPFLAGS=-I.. 103CPPFLAGS=-I..
104 104
105unit:
106 (set -e ; cd ${.CURDIR}/unittests ; make)
107
105t1: 108t1:
106 ${TEST_SSH_SSHKEYGEN} -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv 109 ${TEST_SSH_SSHKEYGEN} -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv
107 tr '\n' '\r' <${.CURDIR}/rsa_ssh2.prv > ${.OBJDIR}/rsa_ssh2_cr.prv 110 tr '\n' '\r' <${.CURDIR}/rsa_ssh2.prv > ${.OBJDIR}/rsa_ssh2_cr.prv