Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/regress/lib/libcrypto regression test for libcrypto.



details:   https://anonhg.NetBSD.org/src/rev/ca87e1dd7103
branches:  netbsd-1-5
changeset: 489656:ca87e1dd7103
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Oct 03 15:13:23 2000 +0000

description:
regression test for libcrypto.

diffstat:

 regress/lib/libcrypto/Makefile         |  16 ++++++++++++++++
 regress/lib/libcrypto/Makefile.inc     |   3 +++
 regress/lib/libcrypto/bf/Makefile      |  15 +++++++++++++++
 regress/lib/libcrypto/bn/Makefile      |   7 +++++++
 regress/lib/libcrypto/bn/Makefile.inc  |   4 ++++
 regress/lib/libcrypto/bn/bn/Makefile   |  13 +++++++++++++
 regress/lib/libcrypto/bn/div/Makefile  |  14 ++++++++++++++
 regress/lib/libcrypto/bn/exp/Makefile  |  13 +++++++++++++
 regress/lib/libcrypto/cast/Makefile    |  15 +++++++++++++++
 regress/lib/libcrypto/conf/Makefile    |  16 ++++++++++++++++
 regress/lib/libcrypto/des/Makefile     |  15 +++++++++++++++
 regress/lib/libcrypto/dh/Makefile      |  15 +++++++++++++++
 regress/lib/libcrypto/dsa/Makefile     |  15 +++++++++++++++
 regress/lib/libcrypto/hmac/Makefile    |  15 +++++++++++++++
 regress/lib/libcrypto/idea/Makefile    |  15 +++++++++++++++
 regress/lib/libcrypto/lhash/Makefile   |  18 ++++++++++++++++++
 regress/lib/libcrypto/md2/Makefile     |  15 +++++++++++++++
 regress/lib/libcrypto/md5/Makefile     |  15 +++++++++++++++
 regress/lib/libcrypto/mdc2/Makefile    |  15 +++++++++++++++
 regress/lib/libcrypto/rand/Makefile    |  15 +++++++++++++++
 regress/lib/libcrypto/rc2/Makefile     |  15 +++++++++++++++
 regress/lib/libcrypto/rc4/Makefile     |  15 +++++++++++++++
 regress/lib/libcrypto/rc5/Makefile     |  15 +++++++++++++++
 regress/lib/libcrypto/ripemd/Makefile  |  16 ++++++++++++++++
 regress/lib/libcrypto/rsa/Makefile     |  16 ++++++++++++++++
 regress/lib/libcrypto/sha/Makefile     |  15 +++++++++++++++
 regress/lib/libcrypto/sha1/Makefile    |  15 +++++++++++++++
 regress/lib/libcrypto/threads/Makefile |  16 ++++++++++++++++
 regress/lib/libcrypto/x509v3/Makefile  |  16 ++++++++++++++++
 29 files changed, 408 insertions(+), 0 deletions(-)

diffs (truncated from 524 to 300 lines):

diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/Makefile    Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,16 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:23 itojun Exp $
+
+.include <bsd.own.mk>
+
+SUBDIR+=bf bn cast des dh dsa hmac lhash md2 md5 mdc2 rand rc2 \
+       rc4 ripemd rsa sha sha1 x509v3
+#SUBDIR+=conf threads
+
+.if ${MKCRYPTO_IDEA} == "yes"
+SUBDIR+=idea
+.endif
+.if ${MKCRYPTO_RC5} == "yes"
+SUBDIR+=rc5
+.endif
+
+.include <bsd.subdir.mk>
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/Makefile.inc        Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,3 @@
+#      $NetBSD: Makefile.inc,v 1.1.2.2 2000/10/03 15:13:23 itojun Exp $
+
+CRYPTODIST=${.CURDIR}/../../../../crypto/dist/openssl/crypto
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/bf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/bf/Makefile Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,15 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:23 itojun Exp $
+
+PROG=  bftest
+NOMAN= yes
+
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
+
+.PATH: ${CRYPTODIST}/bf
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/bn/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/bn/Makefile Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,7 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:23 itojun Exp $
+
+.include <bsd.own.mk>
+
+SUBDIR=bn div exp
+
+.include <bsd.subdir.mk>
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/bn/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/bn/Makefile.inc     Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,4 @@
+#      $NetBSD: Makefile.inc,v 1.1.2.2 2000/10/03 15:13:23 itojun Exp $
+
+CRYPTODIST=${.CURDIR}/../../../../../crypto/dist/openssl/crypto
+.PATH: ${CRYPTODIST}/bn
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/bn/bn/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/bn/bn/Makefile      Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,13 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:23 itojun Exp $
+
+PROG=  bntest
+NOMAN= yes
+
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/bn/div/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/bn/div/Makefile     Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,14 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:24 itojun Exp $
+
+PROG=  divtest
+NOMAN= yes
+
+CFLAGS+=       -g
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG} 1000
+
+.include <bsd.prog.mk>
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/bn/exp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/bn/exp/Makefile     Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,13 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:24 itojun Exp $
+
+PROG=  exptest
+NOMAN= yes
+
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/cast/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/cast/Makefile       Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,15 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:24 itojun Exp $
+
+PROG=  casttest
+NOMAN= yes
+
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
+
+.PATH: ${CRYPTODIST}/cast
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/conf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/conf/Makefile       Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,16 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:24 itojun Exp $
+
+PROG=  conftest
+SRCS=  test.c
+NOMAN= yes
+
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
+
+.PATH: ${CRYPTODIST}/conf
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/des/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/des/Makefile        Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,15 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:24 itojun Exp $
+
+PROG=  destest
+NOMAN= yes
+
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
+
+.PATH: ${CRYPTODIST}/des
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/dh/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/dh/Makefile Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,15 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:24 itojun Exp $
+
+PROG=  dhtest
+NOMAN= yes
+
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
+
+.PATH: ${CRYPTODIST}/dh
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/dsa/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/dsa/Makefile        Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,15 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:25 itojun Exp $
+
+PROG=  dsatest
+NOMAN= yes
+
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
+
+.PATH: ${CRYPTODIST}/dsa
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/hmac/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/hmac/Makefile       Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,15 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:25 itojun Exp $
+
+PROG=  hmactest
+NOMAN= yes
+
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
+
+.PATH: ${CRYPTODIST}/hmac
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/idea/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/idea/Makefile       Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,15 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:25 itojun Exp $
+
+PROG=  ideatest
+NOMAN= yes
+
+LDADD+=        -lcrypto_idea -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
+
+.PATH: ${CRYPTODIST}/idea
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/lhash/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/lhash/Makefile      Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,18 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:25 itojun Exp $
+
+PROG=  lhashtest
+SRCS=  lh_test.c
+NOMAN= yes
+
+CPPFLAGS+=-DMalloc=malloc
+
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @echo hoge | ${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
+
+.PATH: ${CRYPTODIST}/lhash
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/md2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/md2/Makefile        Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,15 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:25 itojun Exp $
+
+PROG=  md2test
+NOMAN= yes
+
+LDADD+=        -lcrypto
+DPADD+=        ${LIBCRYPTO}
+
+regress:       ${PROG}
+       @echo "==> running ${PROG}"
+       @${.OBJDIR}/${PROG}
+
+.include <bsd.prog.mk>
+
+.PATH: ${CRYPTODIST}/md2
diff -r d8d575732c55 -r ca87e1dd7103 regress/lib/libcrypto/md5/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/regress/lib/libcrypto/md5/Makefile        Tue Oct 03 15:13:23 2000 +0000
@@ -0,0 +1,15 @@
+#      $NetBSD: Makefile,v 1.1.2.2 2000/10/03 15:13:25 itojun Exp $
+
+PROG=  md5test
+NOMAN= yes



Home | Main Index | Thread Index | Old Index