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 24fd3b21..1f515b95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -77,6 +77,10 @@
NB. Id sync only for these two. They were bundled into the sshkey merge
above, since it was easier to sync the entire file and then apply
portable-specific changed atop it.
+ - 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.
20140618
- (tim) [openssh/session.c] Work around to get chroot sftp working on UnixWare
diff --git a/regress/Makefile b/regress/Makefile
index 1e1f68dc..370f28a9 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.68 2014/01/25 04:35:32 dtucker Exp $
+# $OpenBSD: Makefile,v 1.69 2014/04/30 05:32:00 djm Exp $
REGRESS_TARGETS= unit t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t-exec
tests: $(REGRESS_TARGETS)
@@ -102,6 +102,9 @@ TEST_SSH_SSHKEYGEN?=ssh-keygen
CPPFLAGS=-I..
+unit:
+ (set -e ; cd ${.CURDIR}/unittests ; make)
+
t1:
${TEST_SSH_SSHKEYGEN} -if ${.CURDIR}/rsa_ssh2.prv | diff - ${.CURDIR}/rsa_openssh.prv
tr '\n' '\r' <${.CURDIR}/rsa_ssh2.prv > ${.OBJDIR}/rsa_ssh2_cr.prv