cvs commit: src/tools/regression/fifo/fifo_io fifo_io.c
Robert Watson
rwatson at FreeBSD.org
Mon Sep 12 10:05:49 PDT 2005
rwatson 2005-09-12 17:05:48 UTC
FreeBSD src repository
Modified files:
tools/regression/fifo/fifo_io fifo_io.c
Log:
Further updates to fifo_io regression test:
- Teach fifo_io about kqueue monitoring of fifo file descriptor status,
and add test cases for kqueue to match existing case for poll and
select. Add a new cleanup routine, cleanfifokq(), for use in tests that
use kqueues. kqueue_setup() sets up kqueue sessions, and kqueue_status()
returns file descriptor status.
- Correct a bug in select handling relating to the nfds argument, which
was incorrect so resulted in select occuring on the wrong file descriptor,
and possible false positive/negative results.
- Clarify error reporting in one byte write+read tests to distinguish
errors in the after case from the before case.
Revision Changes Path
1.3 +287 -61 src/tools/regression/fifo/fifo_io/fifo_io.c
More information about the cvs-src
mailing list