opnsense-src/tests/sys/kqueue/libkqueue
Mark Johnston d6d4f9b45e kqueue tests: Add new EVFILT_TIMER regression tests from upstream
One of the tests exposes the regression reported in PR 264131.

One test is disabled because FreeBSD does not support setting EV_ONESHOT
on an already-added periodic timer.  Though, in this case the flag is
simply ignored, which isn't ideal.

One test is slightly modified to set EV_ADD when reconfiguring a
disabled timer per some commentary in PR 258412.

Ideally we would re-import the test suite from libkqueue but there is a
fair bit of divergence so this will require some effort.  This just gets
us one small step closer while increasing test coverage.

PR:		258412
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
2022-05-24 20:16:32 -04:00
..
common.h kqueue tests: Add file and line info to some test failure output 2022-05-24 20:14:20 -04:00
config.h kqueue tests: Add new EVFILT_TIMER regression tests from upstream 2022-05-24 20:16:32 -04:00
kqueue_test.sh kqueue tests: Re-enable kqueue proc tests 2022-05-24 20:14:10 -04:00
main.c kqueue tests: Add file and line info to some test failure output 2022-05-24 20:14:20 -04:00
Makefile Fix various warnings in tests/sys/kqueue and bump WARNS 2020-04-18 12:54:47 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
proc.c Fix various warnings in tests/sys/kqueue and bump WARNS 2020-04-18 12:54:47 +00:00
read.c Fix various warnings in tests/sys/kqueue and bump WARNS 2020-04-18 12:54:47 +00:00
signal.c Fix various warnings in tests/sys/kqueue and bump WARNS 2020-04-18 12:54:47 +00:00
timer.c kqueue tests: Add new EVFILT_TIMER regression tests from upstream 2022-05-24 20:16:32 -04:00
user.c kqueue: Add EV_KEEPUDATA flag 2021-09-23 17:31:39 -07:00
vnode.c fifos: delegate unhandled kqueue filters to underlying filesystem 2021-10-12 02:43:07 -05:00