summaryrefslogtreecommitdiff
path: root/regress/Makefile
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 /regress/Makefile
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.
Diffstat (limited to 'regress/Makefile')
-rw-r--r--regress/Makefile5
1 files changed, 4 insertions, 1 deletions
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