NetBSD/tests/kernel
riastradh ef23f679e4 tests: Audit RZ abuse.
RZ succeeds if x is zero, and fails if x is nonzero, treating a
nonzero value as a error number as in errno(3) to print the message.

The following library routines instead return -1 on failure and set
errno to the error code:

fuse_opt_add_arg
fuse_opt_add_opt
fuse_opt_add_opt_escaped
fuse_opt_insert_arg
lseek
system

So use RL instead for those -- succeeds if x is zero, and fails if x
is -1.

This shouldn't make any tests newly fail or newly succeed -- the
functions in question only ever return 0 or -1 -- but if the tests
were already failing anywhere, they will now fail with meaningful
messages.

TBD: dlinfo, which isn't fit for RL or RZ since it reports errors via
dlerror() rather than errno.
2023-11-24 17:31:03 +00:00
..
kqueue
threadpool_tester
tty
Makefile The t_fdrestart test requires rump. 2023-10-17 13:51:52 +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
h_fpufork.c
h_getprocpath.c
h_interpreter.sh
h_ps_strings1.c
h_ps_strings2.c
h_segv.c
t_epoll.c Add EPOLL_CLOEXEC (Theodore Preduta) 2023-07-30 18:31:13 +00:00
t_extattrctl.c
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
t_interp.sh
t_kauth_pr_47598.c
t_ksem.c
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
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
t_proccwd.c
t_procpath.sh
t_ps_strings.sh
t_pty.c
t_rnd.c t_rnd: Nix trailing whitespace. 2023-11-24 16:36:23 +00:00
t_simplehook.sh
t_sysctl.c
t_sysv.c
t_timeleft.c
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 various typos in comment, documentation and log messages. 2022-05-24 20:50:17 +00:00
t_umountstress.sh
t_zombie.c s/estabilishing/establishing/ in copy pasted comment. 2022-05-24 20:08:38 +00:00