MFC r292317,r292318,r292323,r292324,r292665:
authorngie <ngie@FreeBSD.org>
Mon, 28 Dec 2015 23:05:13 +0000 (23:05 +0000)
committerngie <ngie@FreeBSD.org>
Mon, 28 Dec 2015 23:05:13 +0000 (23:05 +0000)
commit938f5957c28188809a40dded6925c8b75c06f30f
treecd8ac0085988c60c19ba6630450881f675da4a56
parentb079803a46b21fa20a04cbf83b39134b2a45cf02
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
15 files changed:
etc/mtree/BSD.tests.dist
lib/libc/tests/Makefile
lib/libc/tests/nss/Makefile [new file with mode: 0644]
lib/libc/tests/nss/getaddrinfo_test.c [new file with mode: 0644]
lib/libc/tests/nss/getgr_test.c [new file with mode: 0644]
lib/libc/tests/nss/gethostby_test.c [new file with mode: 0644]
lib/libc/tests/nss/getproto_test.c [new file with mode: 0644]
lib/libc/tests/nss/getpw_test.c [new file with mode: 0644]
lib/libc/tests/nss/getrpc_test.c [new file with mode: 0644]
lib/libc/tests/nss/getserv_test.c [new file with mode: 0644]
lib/libc/tests/nss/getusershell_test.c [new file with mode: 0644]
lib/libc/tests/nss/testutil.h [new file with mode: 0644]
lib/libc/tests/resolv/Makefile [new file with mode: 0644]
lib/libc/tests/resolv/mach [new file with mode: 0644]
lib/libc/tests/resolv/resolv_test.c [new file with mode: 0644]