Home | History | Annotate | Download | only in hfs
History log of /src/tests/fs/hfs/t_pathconvert.c
RevisionDateAuthorComments
 1.8  24-Nov-2023  riastradh 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.
 1.7  09-Jul-2019  maya return return atf_no_error() instead of 0 for consistency.

suggested by moritzbuhl in https://github.com/NetBSD/src/pull/11/
 1.6  13-Jan-2017  christos branches: 1.6.14;
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
 1.5  25-Feb-2011  martin branches: 1.5.2; 1.5.28;
Remove xfail for sparc64, alignement issues have been fixed
 1.4  24-Feb-2011  pooka adjust location of xfail in previous for more accuracy
 1.3  24-Feb-2011  pooka xfail PR kern/44631 on sparc64
 1.2  22-Feb-2011  pooka make the timeouts a bit more generous for really slow systems
 1.1  18-Feb-2011  pooka Add test case for /->: conversion from PR kern/44523 by
Taylor R Campbell.

I adjusted the test to uudecode + bunzip2 the supplied image, and
removed the "null-finder" from the dirent code, since it had an
off-by-one which made the test fail.
 1.5.28.1  20-Mar-2017  pgoyette Sync with HEAD
 1.5.2.2  05-Mar-2011  bouyer Sync with HEAD
 1.5.2.1  25-Feb-2011  bouyer file t_pathconvert.c was added on branch bouyer-quota2 on 2011-03-05 15:10:53 +0000
 1.6.14.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed