NetBSD/tests
mrg cb93b81028 add support for new GCC 9 warnings that may be too much to fix
right now.  new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree.  mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it.  (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.)  clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
2020-09-06 07:20:26 +00:00
..
bin adjust the number of spaces to match the current df(1) output. 2020-08-23 15:51:30 +00:00
crypto Double the timeout for the bn test case; 360 seconds is no longer 2020-04-11 16:55:33 +00:00
dev clang can't handle __aligned on anonymous structure initializers. 2020-08-20 13:33:54 +00:00
fs Revert "ufs: Prevent mkdir from choking on deleted directories." 2020-09-05 02:55:38 +00:00
games
include Mask NULL + 0 LLVM UBSan reports in the ATF test: t_pslist.c 2020-05-31 16:36:07 +00:00
ipf
kernel Add basic checks for magic symlink(7)'s. These include a case for PR lib/55361, 2020-07-01 13:49:26 +00:00
lib add support for new GCC 9 warnings that may be too much to fix 2020-09-06 07:20:26 +00:00
libexec Disable attempt to use ifunc on hppa. It doesn't work and new binutils 2020-05-05 20:47:14 +00:00
modules KMODULEDIR is no longer absolute (${DESTDIR} is added to it by the system 2020-05-01 22:24:18 +00:00
net tests/net/if_wg: Allow one second of leeway for rekey. 2020-08-31 20:32:58 +00:00
rump Format PR references consistently so that they can be automatically 2020-09-01 18:40:09 +00:00
sbin Skip the repeated_link_addr test by default as it causes the 2020-07-27 16:57:44 +00:00
share Fix C++ file suffix (.cpp -> .cc) 2020-08-14 06:23:49 +00:00
sys Make the AES and ChaCha NEON tests work in softfloat userland. 2020-08-17 16:26:02 +00:00
usr.bin make(1): mark tests impsrc and phony-end as no longer failing 2020-08-15 01:50:54 +00:00
usr.sbin Fix a few copy + pastos, simplify shell arithmetic 2020-08-14 05:22:25 +00:00
Makefile
Makefile.inc Fix sun2 build. Still there are some duplicate symbols in the rump libraries 2020-05-17 18:52:43 +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.