NetBSD/tests
gson de089ddb26 Use daemon(3) instead of the experimental daemon2_fork() and
daemon2_detach().  Now that newer versions of daemon2_fork() and
daemon2_detach() are used in nfsd, where two-stage daemonization is
actually needed, there is no longer any reason for h_dns_server to
serve as a test case and example of their use.
2014-03-29 16:10:54 +00:00
..
bin Adjust default column test to the changed ps -s output. 2014-01-16 04:16:32 +00:00
crypto Sprinkle in some UNCONST() 2014-01-19 13:40:59 +00:00
dev The sh api calls it atf_expect_fail, while the c api calls it 2013-04-14 16:07:46 +00:00
fs Retrict rumpfs to the provided size, like other filesystems. 2014-03-16 10:28:03 +00:00
games
include Use compiler builtins instead of atf_arch and atf_machine. 2014-02-09 21:26:07 +00:00
ipf Mark two more test case as only failing for BE 2013-05-16 07:43:02 +00:00
kernel Make cleanup routines actually work. 2014-03-02 20:13:12 +00:00
lib Use daemon(3) instead of the experimental daemon2_fork() and 2014-03-29 16:10:54 +00:00
libexec ARM now works with integrated-as. 2014-02-14 20:33:32 +00:00
modules Fix stupid thinko when checking for the availability of options MODULAR 2012-08-20 08:07:52 +00:00
net Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
rump remove sys/simplelock.h (straggler) 2014-03-21 22:18:57 +00:00
sbin We now expect this test to succeed 2014-01-05 12:59:03 +00:00
share Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
sys
usr.bin Pass the correct buffer size. 2014-02-06 14:57:16 +00:00
usr.sbin adjust output now that we don't output size info for links and directories 2013-10-20 17:27:37 +00:00
Makefile Run tests in kyua-atf-compat if MKKYUA!=no. 2013-02-25 00:33:19 +00:00
Makefile.inc Do not care about dead functions for test cases, in this case it is 2011-09-16 16:30:18 +00:00
README Clarify this a little. 2012-05-18 15:36:21 +00:00
h_macros.h PR/47826: Garrett Cooper: Add <sys/types.h>. Really I am tempted to remove 2013-05-17 15:42:09 +00:00

README

$NetBSD: README,v 1.4 2012/05/18 15:36:21 jruoho Exp $

When adding new tests, please try to follow the following conventions.

1. For library routines, including system calls, the directory structure of
   the tests should follow the directory structure of the real source tree.
   For instance, interfaces available via the C library should follow:

	src/lib/libc/gen -> src/tests/lib/libc/gen
	src/lib/libc/sys -> src/tests/lib/libc/sys
	...

2. Equivalently, all tests for userland utilities should try to follow their
   location in the source tree. If this can not be satisfied, the tests for
   a utility should be located under the directory to which the utility is
   installed. Thus, a test for env(1) should go to src/tests/usr.bin/env.
   Likewise, a test for tcpdump(8) should be in src/tests/usr.sbin/tcpdump,
   even though the source code for the program is located under src/external.

3. Otherwise use your own discretion.