NetBSD/tests
martin 90ba9be35f Add a test program for PR kern/47625, based on the sample code provided
by anthony mallet.
2013-03-08 10:33:51 +00:00
..
bin New testcase to check limits flags for ulimit builtin. 2012-06-11 18:32:59 +00:00
crypto more MKCRYPTO_IDEA and MKCRYPTO_MDC2 removal (resp, adjustment to IDEA and 2012-07-14 16:04:04 +00:00
dev Check for RUMP programs before using them. 2013-02-19 21:08:24 +00:00
fs Mystery solved: The build worked for me because the my src tree is in /usr/src. 2013-03-06 13:36:50 +00:00
games
include use __BITMAP_TYPE 2012-12-07 02:28:19 +00:00
ipf Christos fixed the crash in ipftest, so re-enable the failing tests. 2012-12-03 23:39:30 +00:00
kernel getsockname() needs a socklen_t, not a size_t 2013-02-28 20:41:21 +00:00
lib Add a test program for PR kern/47625, based on the sample code provided 2013-03-08 10:33:51 +00:00
libexec
modules Fix stupid thinko when checking for the availability of options MODULAR 2012-08-20 08:07:52 +00:00
net Rump kernel hypercalls are not necessary here. 2013-03-01 13:49:42 +00:00
rump Starting with Rev. 1.191 of kern/subr_pool.c a pool has to be inactive 2012-03-17 18:00:28 +00:00
sbin Check for RUMP programs before using them. 2013-02-19 21:08:24 +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 Check for RUMP programs before using them. 2013-02-19 21:08:24 +00:00
usr.sbin Check for RUMP programs before using them. 2013-02-19 21:08:24 +00:00
Makefile Run tests in kyua-atf-compat if MKKYUA!=no. 2013-02-25 00:33:19 +00:00
Makefile.inc
README Clarify this a little. 2012-05-18 15:36:21 +00:00
h_macros.h Add __printflike attribution to use vprintf and friends with an argument 2012-03-15 02:02:20 +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.