summaryrefslogtreecommitdiffstats
path: root/tools/regression/sockets/kqueue/kqueue.c
Commit message (Collapse)AuthorAgeFilesLines
* Switch over to a different, more flexible test output protocol that'snik2004-11-111-9/+52
| | | | | | | | | | | | | | | | | | | | understood by Perl's Test::Harness module and prove(1) commands. Update README to describe the new protocol. The work's broken down into two main sets of changes. First, update the existing test programs (shell scripts and C programs) to produce output in the ok/not ok format, and to, where possible, also produce a header describing the number of tests that are expected to be run. Second, provide the .t files that actually run the tests. In some cases these are copies of, or very similar too, scripts that already existed. I've kept the old scripts around so that it's possible to verify that behaviour under this new system (in terms of whether or not a test fails) is identical to the behaviour under the old system. Add a TODO file.
* Pass O_NONBLOCK directly to fcntl() rather than the pointer to an intrwatson2004-09-021-12/+8
| | | | | holding the value O_NONBLOCK. This worked previously because I was lucky.
* Add a basic kqueue + UNIX domain socket pair regression test to do somerwatson2004-08-241-0/+329
elementary exercising of kqueues on datagram and stream sockets. Note that the datagram write kqueue case is left untested due to potentially confusing behavior for the developer (me) that might require attention.
OpenPOWER on IntegriCloud