summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordjm <djm>2014-07-02 05:38:05 +0000
committerdjm <djm>2014-07-02 05:38:05 +0000
commitf87f7788bcde911cb7cd7ab744d66b93b4d286e3 (patch)
tree66a7df498f2863bb4258b4c70892d9043f23e182
parent72f0288c758b5e5b54dbecc51a9ea3d09db8ecaf (diff)
downloadopenssh-f87f7788bcde911cb7cd7ab744d66b93b4d286e3.tar.gz
- 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