Date: Mon, 12 Sep 2005 17:05:48 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/regression/fifo/fifo_io fifo_io.c Message-ID: <200509121705.j8CH5mRg067230@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509121705.j8CH5mRg067230>
