NetBSD/tests
rillig fdd1c40690 tests/lint: test parsing of preprocessing directives 2023-08-11 04:27:49 +00:00
..
bin Fix building the debugging tarball of the directory tree created for 2023-05-11 10:08:34 +00:00
crypto tests/crypto/opencrypto: test_asymfeat requires privileges. 2023-08-05 13:29:57 +00:00
dev audiotest: Appease GCC 12.3.0 -Wmisleading-indentation 2023-08-03 08:36:38 +00:00
fs fix typos in comments and one definition, mainly s/sucket/socket/. 2023-08-03 20:45:49 +00:00
games simplify: use two arguments again, suggested by kre@ 2020-10-11 18:43:50 +00:00
include tests/include/t_paths: Test all paths, nonfatally. 2023-08-05 12:11:05 +00:00
ipf s/endianess/endianness/ 2021-11-10 17:19:29 +00:00
kernel memfd(2): Run all tests; don't stop after the first failure. 2023-08-05 08:05:16 +00:00
lib make this build with GCC 12. 2023-08-10 20:44:37 +00:00
libexec ld.elf_so: Add some known-answer tests for hash functions. 2023-07-30 09:22:02 +00:00
modules delete attribution per request of contributor 2023-03-01 21:06:41 +00:00
net tests/net/inpcb: Tests require root. 2023-08-05 13:25:26 +00:00
rump workqueue(9) tests: Fix mistake in rev. 1.9. 2023-08-10 22:20:20 +00:00
sbin PR 57284: rewrite test to extract all temperaturs from all local sensors 2023-03-23 11:32:49 +00:00
share Fix C++ file suffix (.cpp -> .cc) 2020-08-14 06:23:49 +00:00
sys introduce new GCC 12 warning disables and use them in a few places 2023-08-08 06:27:31 +00:00
usr.bin tests/lint: test parsing of preprocessing directives 2023-08-11 04:27:49 +00:00
usr.sbin fix warnings 2021-09-01 06:12:50 +00:00
Makefile Remove MKCRYPTO option. 2017-05-21 15:28:36 +00:00
Makefile.inc tests: trim down the list of LIBRUMPBASE libraries 2023-04-24 20:35:49 +00:00
README
h_macros.h

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.