summaryrefslogtreecommitdiffstats
path: root/lib/libc/tests/nss/Makefile
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-28 23:05:13 +0000
committerngie <ngie@FreeBSD.org>2015-12-28 23:05:13 +0000
commit938f5957c28188809a40dded6925c8b75c06f30f (patch)
treecd8ac0085988c60c19ba6630450881f675da4a56 /lib/libc/tests/nss/Makefile
parentb079803a46b21fa20a04cbf83b39134b2a45cf02 (diff)
downloadFreeBSD-src-938f5957c28188809a40dded6925c8b75c06f30f.zip
FreeBSD-src-938f5957c28188809a40dded6925c8b75c06f30f.tar.gz
MFC r292317,r292318,r292323,r292324,r292665:
r292317: Integrate tools/regression/lib/libc/resolv into the FreeBSD test suite as lib/libc/tests/resolv Convert the testcases to ATF Sponsored by: EMC / Isilon Storage Division r292318: Add Makefile accidentally missed in r292317 Sponsored by: EMC / Isilon Storage Division r292323: Integrate tools/regression/lib/libc/nss into the FreeBSD test suite as lib/libc/tests/nss - Convert the testcases to ATF - Do some style(9) cleanups: -- Sort headers -- Apply indentation fixes -- Remove superfluous parentheses - Explicitly print out debug printfs for use with `kyua {debug,report}`; for items that were overly noisy, they've been put behind #ifdef DEBUG conditionals - Fix some format strings Sponsored by: EMC / Isilon Storage Division r292324: Iterate down lib/libc/tests/nss... Sponsored by: EMC / Isilon Storage Division r292665: Increase the timeout for resolv_test from the default (300 seconds) to 450 seconds This is required on slower network connections, and on older releases (stable/10 seems to be slower as far as name resolution goes.. not sure why yet). Remove an outdated comment in the Makefile from when I was working on this code over a year ago on github Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc/tests/nss/Makefile')
-rw-r--r--lib/libc/tests/nss/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/libc/tests/nss/Makefile b/lib/libc/tests/nss/Makefile
new file mode 100644
index 0000000..1b777c2
--- /dev/null
+++ b/lib/libc/tests/nss/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+TESTSDIR= ${TESTSBASE}/lib/libc/nss
+BINDIR= ${TESTSDIR}
+
+.PATH: ${.CURDIR:H}/resolv
+
+FILES+= mach
+
+CFLAGS+= -I${SRCTOP}/tests
+
+ATF_TESTS_C+= getaddrinfo_test
+ATF_TESTS_C+= getgr_test
+ATF_TESTS_C+= gethostby_test
+TEST_METADATA.gethostby_test= timeout="1200"
+ATF_TESTS_C+= getpw_test
+ATF_TESTS_C+= getproto_test
+ATF_TESTS_C+= getrpc_test
+ATF_TESTS_C+= getserv_test
+ATF_TESTS_C+= getusershell_test
+
+.include <bsd.test.mk>
OpenPOWER on IntegriCloud