NetBSD/tests
maxv 416eaf02dc Fix incorrect parsing: the R/M field uses a special GPR map when the
address size is 16 bits, regardless of the actual operating mode. With
this special map there can be two registers referenced at once, and
also disp16-only.

Implement this special behavior, and add associated tests. While here
simplify a few things.

With this in place, the Windows 95 installer initializes correctly.

Part of PR/54611.
2019-10-13 17:32:15 +00:00
..
bin Avoid symbol clashes in bin/df under MKSANITIZER 2019-08-15 08:24:11 +00:00
crypto The runtime of the ecdsa test case increased approximately sixfold 2019-06-16 10:45:50 +00:00
dev Gracefully skip test if not enough space in temporary directory. 2019-07-10 06:21:40 +00:00
fs introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
games Do this more cleanly - put the do-we-have-crypto check inside the actual 2016-06-27 05:29:32 +00:00
include use memcpy() for non C-strings. 2019-10-06 01:05:36 +00:00
ipf Remove the "expected failure" from test n12, and change it not to use 2015-12-26 08:01:58 +00:00
kernel convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
lib Fix incorrect parsing: the R/M field uses a special GPR map when the 2019-10-13 17:32:15 +00:00
libexec return return atf_no_error() instead of 0 for consistency. 2019-07-09 16:24:01 +00:00
modules Drop no longer needed macros KCOV_STORE() KCOV_LOAD() in kcov(4) 2019-05-26 01:44:34 +00:00
net ifr_name is nul terminated. make it so. 2019-10-13 07:46:16 +00:00
rump Avoid symbol clashes in test/rump/modautoload/t_modautoload with sanitizers 2019-08-17 04:04:28 +00:00
sbin Make most of the resize_ffs tests skip if PUFFS is not configured 2017-10-08 21:12:27 +00:00
share When no gcc but clang can be found, fallback to the latter instead of 2016-03-12 08:55:54 +00:00
sys Fixed issues with uvm_page_physunload_delete_end test case. 2019-01-16 13:54:17 +00:00
usr.bin Add tests for escape sequences. 2019-10-05 20:24:16 +00:00
usr.sbin Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed 2019-05-13 17:55:07 +00:00
h_macros.h provide an RL variant that prints an extra argument 2016-08-20 15:49:08 +00:00
Makefile Remove MKCRYPTO option. 2017-05-21 15:28:36 +00:00
Makefile.inc better name 2017-01-14 01:33:32 +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.