313508 |
10-Feb-2017 |
ngie |
MFC r305468:
Port contrib/netbsd-tests/kernel/kqueue/... as tests/sys/kqueue/...
proc2_test must be skipped because the invariant tested (`ke.fflags & NOTE_TRACKERR`) doesn't pass. |
313507 |
10-Feb-2017 |
ngie |
Remove EVFILT_PROCDESC block
This reapplies the patch that was done in ^/stable/10@r297977
This is a direct commit to ^/stable/10
Sponsored by: Dell EMC Isilon |
313505 |
10-Feb-2017 |
ngie |
MFC r304797,r305467:
r304797 (by jmmv):
Make use of Kyua's work directories.
Change the vnode tests to use the current directory when creating temporary files, which we can assume is a volatile work directory, and then make the kqueue_test.sh driver _not_ abandon the directory created by Kyua.
This makes the various kqueue tests independent of each other, and ensures the temporary file is cleaned up on failure.
Problem spotted by asomers@ when reviewing D4254.
r305467:
Move tests/sys/kqueue/... to tests/sys/kqueue/libkqueue/...
This is being done to clearly distinguish the libkqueue tests from the (soon to be imported) NetBSD tests. |
297977 |
14-Apr-2016 |
vangyzen |
MFC r295012
kqueue EVFILT_PROC: avoid collision between NOTE_CHILD and NOTE_EXIT
NOTE_CHILD and NOTE_EXIT return something in kevent.data: the parent pid (ppid) for NOTE_CHILD and the exit status for NOTE_EXIT. Do not let the two events be combined, since one would overwrite the other's data.
PR: 180385 Submitted by: David A. Bright <david_a_bright@dell.com> Sponsored by: Dell Inc. |
282841 |
13-May-2015 |
ngie |
MFC r282063:
Integrate tools/regression/kqueue into the FreeBSD test suite as tests/sys/kqueue |
282063 |
27-Apr-2015 |
ngie |
Integrate tools/regression/kqueue into the FreeBSD test suite as tests/sys/kqueue
MFC after: 1 week
|
281427 |
11-Apr-2015 |
ngie |
Integrate tools/regression/kqueue into the FreeBSD test suite as tests/sys/kqueue
|
281414 |
11-Apr-2015 |
ngie |
Integrate more tests into the FreeBSD test suite from tools/regression, etc
|
264400 |
13-Apr-2014 |
imp |
NO_MAN= has been deprecated in favor of MAN= for some time, go ahead and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
|
223865 |
08-Jul-2011 |
jonathan |
Clarify the meaning of a test.
Rather than using err() if either of two failure conditions fires (which can produce spurious error messages), just use errx() if the one condition that really matters fires.
In practice, this single test is enough to detect the failure mode we're looking for (kqueue being inherited across fork).
Approved by: mentor (rwatson), re (Capsicum blanket) Sponsored by: Google Inc
|
223845 |
07-Jul-2011 |
jonathan |
Ensure that kqueue is not inherited across fork().
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
|
204585 |
02-Mar-2010 |
uqs |
Always assign WARNS using ?=
- fix some nearby style bugs - include Makefile.inc where it makes sense and reduces duplication
Approved by: ed (co-mentor)
|
200573 |
15-Dec-2009 |
rwatson |
Merge libkqueue test suite through r119
Submitted by: Mark Heily <mark@heily.com>
|
200483 |
13-Dec-2009 |
rwatson |
Add Mark Heily's libkqueue test suite as a general kqueue test suite to 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)
|