NetBSD/tests/fs
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
..
cd9660
common fix typos in comments and one definition, mainly s/sucket/socket/. 2023-08-03 20:45:49 +00:00
ffs Restore backward compatibility of UFS2 with previous NetBSD releases by 2022-11-17 06:40:38 +00:00
fifofs
hfs tests: Audit RZ abuse. 2023-11-24 17:31:03 +00:00
kernfs Centralize the base rump libraries into a variable used by all the other 2020-03-01 18:08:12 +00:00
lfs Nix trailing whitespace. 2020-08-23 22:34:29 +00:00
msdosfs Centralize the base rump libraries into a variable used by all the other 2020-03-01 18:08:12 +00:00
nfs bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
nullfs Reference PRs consistently. 2020-06-26 07:50:11 +00:00
psshfs
ptyfs Centralize the base rump libraries into a variable used by all the other 2020-03-01 18:08:12 +00:00
puffs fix various typos in comments, messages and documentation. 2021-09-19 10:34:06 +00:00
tmpfs Avoid explicitly naming the raw part device with a partition letter - use 2022-11-30 17:49:59 +00:00
umapfs Centralize the base rump libraries into a variable used by all the other 2020-03-01 18:08:12 +00:00
union Centralize the base rump libraries into a variable used by all the other 2020-03-01 18:08:12 +00:00
vfs fix the grammar in comments reported by Jim Spath in misc/57397. 2023-05-08 19:23:45 +00:00
zfs Skip tests when we know there is not enough space available 2020-03-15 20:10:26 +00:00
Makefile build system: Revert all the recent additions of MK[...] knobs that 2022-06-06 10:56:27 +00:00
Makefile.inc
h_funcs.subr