NetBSD/tests
martin 2f5015e018 Pull up following revision(s) (requested by bouyer in ticket #63):
tests/lib/libpthread/t_swapcontext.c: revision 1.2
Go back to the initial context (as tests/lib/libc/sys/t_swapcontext.c does)
after checking pthread_self() didn't change. Otherwise the process exits
outside of atf context.
Should fix "Test case exited normally but failed to create the results file: Results file is empty" reports from atf-run.
2014-08-29 11:44:46 +00:00
..
bin Run scripts at build time via ${HOST_SH} 2014-07-27 14:24:17 +00:00
crypto Sprinkle in some UNCONST() 2014-01-19 13:40:59 +00:00
dev Fix static linking for the tests: -lrump is also used by -lrumpuser, 2014-06-10 04:28:39 +00:00
fs Mark the udf_renamerace test case (but not udf_renamerace_dirs) as an 2014-07-29 09:15:48 +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 Use compiler builtins instead of atf_arch and atf_machine. 2014-02-09 21:26:07 +00:00
ipf Darren fixed n8 and n9 recently 2014-07-15 20:00:23 +00:00
kernel Merge tls-earlyentropy branch into HEAD. 2014-08-10 16:44:32 +00:00
lib Pull up following revision(s) (requested by bouyer in ticket #63): 2014-08-29 11:44:46 +00:00
libexec Fix static linking for the tests: -lrump is also used by -lrumpuser, 2014-06-10 04:28:39 +00:00
modules Fix static linking for the tests: -lrump is also used by -lrumpuser, 2014-06-10 04:28:39 +00:00
net Add bpfjit_cop_copx and bpfjit_copx_cop tests. 2014-07-13 21:35:33 +00:00
rump Fix static linking for the tests: -lrump is also used by -lrumpuser, 2014-06-10 04:28:39 +00:00
sbin Added test of -d option to sysctl 2014-05-16 18:50:28 +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 Adjusts tests after import of atf-0.12: 2010-11-07 17:51:16 +00:00
usr.bin Annotate dependencies. 2014-04-30 21:04:21 +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.