summaryrefslogtreecommitdiffstats
path: root/lib/libcrypt
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-05 22:44:07 +0000
committerngie <ngie@FreeBSD.org>2015-12-05 22:44:07 +0000
commit7fb13df4f337ed260dd3521532e06274456fdffa (patch)
tree99d8c1d50a0a5b2043f8f5f8fb89d8f18605ef78 /lib/libcrypt
parent6ee9037674e4e932fd0eee3acaa4d47e78fdc6fa (diff)
downloadFreeBSD-src-7fb13df4f337ed260dd3521532e06274456fdffa.zip
FreeBSD-src-7fb13df4f337ed260dd3521532e06274456fdffa.tar.gz
MFC r290908,r291615:
r290908: Integrate contrib/netbsd-tests/lib/libcrypt/t_crypt.c in to the FreeBSD test suite as lib/libcrypt/crypt_test Sponsored by: EMC / Isilon Storage Division r291615 (by rodrigc): Hack test so that it works on FreeBSD.
Diffstat (limited to 'lib/libcrypt')
-rw-r--r--lib/libcrypt/tests/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libcrypt/tests/Makefile b/lib/libcrypt/tests/Makefile
index 20993e2..65ebd66 100644
--- a/lib/libcrypt/tests/Makefile
+++ b/lib/libcrypt/tests/Makefile
@@ -1,13 +1,17 @@
# $FreeBSD$
-# exercise libcrypt
+SRCTOP= ${.CURDIR:H:H:H}
+OBJTOP= ${.OBJDIR:H:H:H}
+TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libcrypt
TESTSDIR= ${TESTSBASE}/lib/libcrypt
-ATF_TESTS_C= crypt_tests
+NETBSD_ATF_TESTS_C+= crypt_test
CFLAGS+= -I${.CURDIR:H}
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
+.include <netbsd-tests.test.mk>
+
.include <bsd.test.mk>
OpenPOWER on IntegriCloud