History log of /netbsd-src/tests/lib/librumpclient/t_fd.c (Results 1 – 9 of 9)
Revision Date Author Comments
# ef23f679 24-Nov-2023 riastradh <riastradh@NetBSD.org>

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 re

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.

show more ...


# 506971ff 03-Aug-2023 andvar <andvar@NetBSD.org>

fix typos in comments and one definition, mainly s/sucket/socket/.


# 48e354a3 13-May-2019 bad <bad@NetBSD.org>

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.


# c54cb811 13-Jan-2017 christos <christos@NetBSD.org>

Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.


# b95a77e3 10-Aug-2016 kre <kre@NetBSD.org>

Extra libs for rump.


# 92eca745 25-Aug-2011 hannken <hannken@NetBSD.org>

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 ge

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>

show more ...


# e5c97dbc 15-Aug-2011 gson <gson@NetBSD.org>

As the sigio test case is currently failing with "sigcnt != 1", print the
actual sigcnt value to aid in diagnosing the problem.


# a7b761c3 20-Feb-2011 pooka <pooka@NetBSD.org>

Add a test that checks that the client receives SIGIO for an O_ASYNC
socket.


# dab4b449 09-Feb-2011 pooka <pooka@NetBSD.org>

Add test which checks rumpclient does not use fds 0-2 for its
internal purposes.