opnsense-src/tests/sys/kqueue/libkqueue
Mark Johnston f2ce33a640 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
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit d6d4f9b45e)
2022-06-07 20:42:25 -04:00
..
common.h kqueue tests: Add file and line info to some test failure output 2022-06-07 20:42:18 -04:00
config.h kqueue tests: Add new EVFILT_TIMER regression tests from upstream 2022-06-07 20:42:25 -04:00
kqueue_test.sh kqueue tests: Re-enable kqueue proc tests 2022-06-07 20:42:15 -04:00
main.c kqueue tests: Add file and line info to some test failure output 2022-06-07 20:42:18 -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-06-07 20:42:25 -04:00
user.c Fix various warnings in tests/sys/kqueue and bump WARNS 2020-04-18 12:54:47 +00:00
vnode.c Fix various warnings in tests/sys/kqueue and bump WARNS 2020-04-18 12:54:47 +00:00