NetBSD/tests
christos 0f567347d0 test harness for gethostbyname()/gethostbyaddr() and their internal bits.
XXX[1]: How can we avoid using hard-coded hosts for DNS
XXX[2]: How do we test NIS?
2013-08-16 15:29:45 +00:00
..
bin
crypto
dev The sh api calls it atf_expect_fail, while the c api calls it 2013-04-14 16:07:46 +00:00
fs tests for i/o-after-unlink 2013-08-04 11:02:02 +00:00
games
include
ipf Mark two more test case as only failing for BE 2013-05-16 07:43:02 +00:00
kernel Fix msgsz confusion. 2013-07-24 11:44:10 +00:00
lib test harness for gethostbyname()/gethostbyaddr() and their internal bits. 2013-08-16 15:29:45 +00:00
libexec
modules
net Disable ip forwarding at penultimate hop 2013-07-27 14:39:24 +00:00
rump New testcase which checks that rump copyin/copyout/copyinstr/copyoutstr 2013-07-26 16:09:48 +00:00
sbin
share
sys
usr.bin Add some cases pertaining to another bug I just fixed. 2013-08-11 01:50:02 +00:00
usr.sbin
Makefile Run tests in kyua-atf-compat if MKKYUA!=no. 2013-02-25 00:33:19 +00:00
Makefile.inc
README
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.