Home | History | Annotate | Download | only in librumpclient
History log of /src/tests/lib/librumpclient/t_fd.c
RevisionDateAuthorComments
 1.9  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.8  03-Aug-2023  andvar fix typos in comments and one definition, mainly s/sucket/socket/.
 1.7  13-May-2019  bad Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed
after moving rump's mainbus from rumpdev to rumpkern.

Produces the same atf-run results as before.
 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  10-Aug-2016  kre Extra libs for rump.
 1.4  25-Aug-2011  hannken branches: 1.4.24;
t_fd/sigio: pass test if we receive at least one SIGIO signal.

While a real kernel collects these signals until the connect() returns and
then delivers one signal rump delivers every signal so we get more than one.

Ok: Antti Kantee <pooka@netbsd.org>
 1.3  15-Aug-2011  gson As the sigio test case is currently failing with "sigcnt != 1", print the
actual sigcnt value to aid in diagnosing the problem.
 1.2  20-Feb-2011  pooka Add a test that checks that the client receives SIGIO for an O_ASYNC
socket.
 1.1  09-Feb-2011  pooka branches: 1.1.2;
Add test which checks rumpclient does not use fds 0-2 for its
internal purposes.
 1.1.2.3  05-Mar-2011  bouyer Sync with HEAD
 1.1.2.2  17-Feb-2011  bouyer Sync with HEAD
 1.1.2.1  09-Feb-2011  bouyer file t_fd.c was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.4.24.1  20-Mar-2017  pgoyette Sync with HEAD
 1.6.14.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed