1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/tools
Robert Watson 1c3c40d4c0 Restructure fifo_io event-related tests in order to support test cases
relating to O_RDWR file descriptors, which while not defined in POSIX,
are in fact used:

(1) Revise assumption that we have two file descriptors when testing I/O
    operations on a fifo.  Provide cleanup routines that handle either
    two or three file descriptors (including a kqueue descriptor).

(2) Add an openfifo_rw() routine to supplement openfifo().

(3) kqueue_setup() now configures an existing kqueue to monitor a new
    file descriptor, rather than allocating a new kqueue to monitor two
    existing file descriptors.

(4) Wrap all direct poll/select/kqueue/FIONREAD interactions in a single
    function, assert_status(), which takes a file descriptor, kqueue
    descriptor, assertion of read/writable/exception states, and
    test description, then tests the assertion.  This reduces the bulk
    of calls in many of the tests, making them shorter, more readable,
    and easier to determine correct.

(5) Add a new test_events_rdwr() function, which performs a basic create/
    write/read event test on a O_RDWR fifo file descriptor.  This is
    currently failed by our fifo code in HEAD due to a bug in FIONREAD
    handling.  Fix to be merged shortly.
2005-09-13 17:15:05 +00:00
..
build Make <runefile.h> internal to libc. 2005-05-16 09:32:41 +00:00
debugscripts I forgot to commit this fix that is now kgdb aware... 2005-03-20 02:08:21 +00:00
diag Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
kerneldoc Experimental support for using doxygen to generate kernel documentation. 2004-07-11 16:13:57 +00:00
KSE Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
lib32 Remove the build32.sh hack, it is now slightly broken (missing some 2004-11-25 04:25:21 +00:00
LibraryReport
regression Restructure fifo_io event-related tests in order to support test cases 2005-09-13 17:15:05 +00:00
sched - ktrace(1) has nothing to do with schedgraph. Remove that from the 2005-03-14 11:52:24 +00:00
test Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
tools Garbage collect bpfstat. This is handled by netstat now. 2005-09-13 16:04:56 +00:00
install.sh Arguments to options aren't necessarily separated with whitespace. 2004-07-07 09:38:14 +00:00
make_libdeps.sh Teach the script where libssl actually lives. 2004-04-13 11:06:20 +00:00
README

$FreeBSD$

This directory tree contains tools used for the maintenance and
testing of FreeBSD.  There is no toplevel Makefile structure since
these tools are not meant to be built as part of the standard system,
though there may be individual Makefiles in some of the subdirs.

Please read the README files in the subdirs for further information.