NetBSD/tests
bouyer f800b89bbc Add test cases for the bug fixed in sys/ufs/ufs/ufs_quota2.c 1.35:
when a on-disk block/inode allocation triggers allocating a new
quota entry, the new quota entry is not in the quota2 header block,
and the allocation will later be denied, the changes to the quota block would
not be flushed to disk, leading to list corruption (detected by fsck).
2012-09-30 21:26:57 +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 Exclude tests that use rump 2012-08-08 13:57:05 +00:00
examples Add tests to ensure that the new asm examples build and run, just as the 2011-11-12 01:19:25 +00:00
fs Add test cases for the bug fixed in sys/ufs/ufs/ufs_quota2.c 1.35: 2012-09-30 21:26:57 +00:00
games Since /usr/games is rarely in one's $PATH, provide an absolute path to the 2010-11-19 12:31:36 +00:00
include Exclude tests that use rump 2012-08-08 13:57:05 +00:00
ipf test cases n201 and n202 were removed on import of 5.1.2 2012-07-22 16:22:41 +00:00
kernel Exclude tests that use rump 2012-08-08 13:57:05 +00:00
lib Simplify 2012-09-27 09:56:21 +00:00
libexec Introduce __HAVE_NO___THREAD for sun2 and vax to disable the TLS usage. 2012-01-17 20:34:57 +00:00
modules Fix stupid thinko when checking for the availability of options MODULAR 2012-08-20 08:07:52 +00:00
net Try to make this test gracefully fail when npftest is not available 2012-09-18 08:28:15 +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 Adjust msdos fat32 image creation to match cluster count requirements. 2012-09-06 12:51:47 +00:00
share Skip test requiring /usr/bin/mandoc if it does not exist, as is the case 2012-08-28 15:22:18 +00:00
sys Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
usr.bin Simplify the BDZ compression function, making it smaller at the same 2012-09-25 20:53:46 +00:00
usr.sbin Add a test case for PR bin/39546. 2012-04-19 18:51:35 +00:00
Atffile Re-add the NetBSD CVS Id tag to the header. It just had to be quoted to 2007-12-30 09:13:32 +00:00
h_macros.h Add __printflike attribution to use vprintf and friends with an argument 2012-03-15 02:02:20 +00:00
Makefile Add placeholder test programs for share/mk files. 2012-08-26 23:03:20 +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

$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.