aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/kqueue/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Integrate tools/regression/kqueue into the FreeBSD test suite asEnji Cooper2015-04-271-284/+0
| | | | | | | | | tests/sys/kqueue MFC after: 1 week Notes: svn path=/head/; revision=282063
* Ensure that kqueue is not inherited across fork().Jonathan Anderson2011-07-071-1/+2
| | | | | | | | | | | | | | | | | | Modify the existing unit test (from libkqueue) which already exercises process events via fork() and kill(). Now, the child process simply checks that the 'kqfd' descriptor is invalid. Some minor modifications were required to make err() work correctly. It seems that this test was imported using the output of a configure script, but config.h was not included in key places, nor was its syntax correct (need '#define HAVE_FOO 1' rather than '#define HAVE_FOO'). Finally, change main() to run the "proc" suite by default, but widened the '#if TODO' in proc.c to include the non-functioning test event_trigger(). Approved by: mentor (rwatson), re (Capsicum blanket) Sponsored by: Google Inc Notes: svn path=/head/; revision=223845
* Merge libkqueue test suite through r119Robert Watson2009-12-151-0/+5
| | | | | | | Submitted by: Mark Heily <mark@heily.com> Notes: svn path=/head/; revision=200573
* Add Mark Heily's libkqueue test suite as a general kqueue test suite toRobert Watson2009-12-131-0/+278
tools/regression. It tests a number of aspects of kqueue behavior, although not all currently pass (possibly bugs in the test suite?). Submitted by: Mark Heily <mark at heily.com> Obtained from: svn://mark.heily.com/libkqueue/trunk/test (r114) Notes: svn path=/head/; revision=200483