NetBSD/tests
riastradh c95d2b6372 libstdc++: Don't try to fflush stdin.
It doesn't work.  It's undefined behaviour.  On NetBSD, it will fail
with EBADF, if fd 0 isn't open for write, or if fd 0 is open for
write, it will write heap garbage to fd 0.

   If stream points to an output stream or an update stream in which
   the most recent operation was not input, the fflush function causes
   any unwritten data for that stream to be delivered to the host
   environment to be written to the file; otherwise, the behavior is
   undefined.

   (ISO C11 and ISO C17, Sec. 7.21.5.2 `The fflush function')

PR lib/58206
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114879
2024-05-20 11:20:53 +00:00
..
bin tests: replace deprecated '-s eq:...' with '-s exit:...' 2024-04-28 07:27:40 +00:00
compat tests/compat/linux: fix typo in comment 2023-08-23 20:05:05 +00:00
crypto tests: replace deprecated '-s eq:...' with '-s exit:...' 2024-04-28 07:27:40 +00:00
dev mmap() fails for size == 0 with EINVAL unless the mapping is anonymous. 2023-12-11 09:26:08 +00:00
fs tests/cd9660: replace compressed blob with readable hexdump 2024-04-28 14:39:22 +00:00
games tests: replace deprecated '-s eq:...' with '-s exit:...' 2024-04-28 07:27:40 +00:00
include tests/include/t_paths: Test all paths, nonfatally. 2023-08-05 12:11:05 +00:00
ipf
kernel tests/kernel/h_segv: Disable SIGFPE test on RISC-V. 2024-05-14 15:54:16 +00:00
lib libstdc++: Don't try to fflush stdin. 2024-05-20 11:20:53 +00:00
libexec t_dlinfo, t_rtld_r_debug: Audit ATF_REQUIRE/CHECK, sprinkle messages. 2023-11-24 17:40:20 +00:00
modules tests: replace deprecated '-s eq:...' with '-s exit:...' 2024-04-28 07:27:40 +00:00
net lagg(4) test: Fix typo and old comment 2024-04-05 07:04:17 +00:00
rump Temporarily make PR t_sp:sigsafe noisier. 2024-04-04 21:19:25 +00:00
sbin tests: replace deprecated '-s eq:...' with '-s exit:...' 2024-04-28 07:27:40 +00:00
share
sys tests: replace deprecated '-s eq:...' with '-s exit:...' 2024-04-28 07:27:40 +00:00
usr.bin lint: in strict bool mode, allow do-while-0 2024-05-12 12:28:34 +00:00
usr.sbin remove dup copy. 2023-12-02 16:18:17 +00:00
Makefile Tests for the compat_linux inotify framework from GSoC 2023 (Theodore Preduta) 2023-08-19 22:56:43 +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.