netbsd-src/tests/kernel
riastradh fd16ce12c7 tests/kernel/h_segv: Disable SIGFPE test on RISC-V.
No floating-point exception traps on RISC-V.

Also don't pass the result of divide-by-zero converted to integer to
usleep.  Although the floating-point result of divide-by-zero is
well-defined by IEEE 754 (+/-infinity), the outcome of C conversion
to integer is not.  And while on some architectures this might return
zero, on RISC-V it looks like it'll return all bits set.  And as of
PR 58184, usleep now honours sleeps longer than 1sec, which means
this will be waiting at least two billion microseconds, or about half
an hour...

So instead, just write the result to a volatile variable.
2024-05-14 15:54:16 +00:00
..
arch/aarch64 Add a test for kern/58149 2024-04-22 07:24:22 +00:00
kqueue Test kernel/kqueue/t_timer, subtests abstime, basic_timer and timer_units 2021-11-21 09:35:39 +00:00
threadpool_tester Fix spurios whitespace (thank you substandard vi clones). 2018-12-26 22:21:10 +00:00
tty Centralize the base rump libraries into a variable used by all the other 2020-03-01 18:08:12 +00:00
Makefile Add a test for kern/58149 2024-04-22 07:24:22 +00:00
Makefile.inc
gen_t_subr_prf provide more things needed by new subr_prf.c. 2023-07-18 06:37:55 +00:00
h_fexecve.c Add tests for fexecve(2) 2019-09-15 16:53:58 +00:00
h_fpufork.c Test that fpu state is preserved by fork. 2020-02-11 03:15:10 +00:00
h_getprocpath.c
h_interpreter.sh
h_ps_strings1.c
h_ps_strings2.c
h_segv.c tests/kernel/h_segv: Disable SIGFPE test on RISC-V. 2024-05-14 15:54:16 +00:00
t_epoll.c Add EPOLL_CLOEXEC (Theodore Preduta) 2023-07-30 18:31:13 +00:00
t_extattrctl.c Reference PRs consistently. 2020-06-26 07:50:11 +00:00
t_extent.c
t_fcntl.c memfd(2): Run all tests; don't stop after the first failure. 2023-08-05 08:05:16 +00:00
t_fdrestart.c t_fdrestart: Mark some tests no longer xfail. 2023-11-18 19:46:55 +00:00
t_fexecve.sh t_fexecve.sh: fix head() function definitions of test cases 2023-05-04 00:02:10 +00:00
t_filedesc.c
t_fpufork.sh Test that fpu state is preserved by fork. 2020-02-11 03:15:10 +00:00
t_interp.sh
t_kauth_pr_47598.c remove double t from targeted, add missing r to arbitrary 2022-01-26 11:48:53 +00:00
t_ksem.c Implement support for "pshared" POSIX semaphores. 2019-02-03 03:20:23 +00:00
t_lock.c
t_lockf.c
t_magic_symlinks.sh t_magic_symlinks.sh: fix line continuation in realpath head() 2023-04-03 21:35:59 +00:00
t_memfd_create.c tests: Audit RZ abuse. 2023-11-24 17:31:03 +00:00
t_mqueue.c
t_nointerpreter.sh Add a test case for PR kern/52744, which no longer appears to be present. 2020-06-25 16:16:48 +00:00
t_open_pr_57260.c t_open_pr_57260.c: KNF a block (spaces to tabs) 2023-04-23 00:46:46 +00:00
t_origin.sh Add a $ORIGIN test 2019-06-07 21:18:16 +00:00
t_proccwd.c Fix a mistake in a test for KERN_PROC_CWD 2019-06-01 22:18:23 +00:00
t_procpath.sh
t_ps_strings.sh
t_pty.c errno is irrelevant here. 2020-06-24 07:02:57 +00:00
t_rnd.c t_rnd: Nix trailing whitespace. 2023-11-24 16:36:23 +00:00
t_signal_and_sp.c Add a test for kern/58149 2024-04-22 07:24:22 +00:00
t_simplehook.sh Added tests for the linear hook APIs 2021-09-30 02:00:19 +00:00
t_sysctl.c
t_sysv.c PR/56831: Eric van Gyzen: race condition in tests/kernel/t_sysv.c 2022-05-14 14:02:03 +00:00
t_timeleft.c add call error checks, requested by mrg@ 2019-01-14 00:23:43 +00:00
t_trapsignal.sh t_trapsignal.sh: fix head() function definitions of test cases 2023-05-05 01:27:18 +00:00
t_umount.sh fix spelling mistakes, mainly in comments and log messages. 2024-02-09 22:08:30 +00:00
t_umountstress.sh
t_zombie.c s/estabilishing/establishing/ in copy pasted comment. 2022-05-24 20:08:38 +00:00