mirror of
https://github.com/opnsense/src.git
synced 2026-02-16 09:08:51 -05:00
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
14 lines
351 B
C
14 lines
351 B
C
/* $FreeBSD$ */
|
|
|
|
#define HAVE_ERR_H 1
|
|
#define HAVE_SYS_EVENT_H 1
|
|
#define HAVE_EV_DISPATCH 1
|
|
#define HAVE_EV_RECEIPT 1
|
|
#undef HAVE_NOTE_TRUNCATE
|
|
#define HAVE_EVFILT_TIMER 1
|
|
#define HAVE_EVFILT_USER 1
|
|
#define WITH_NATIVE_KQUEUE_BUGS 0
|
|
#define PROGRAM "libkqueue-test"
|
|
#define VERSION "0.1"
|
|
#define TARGET "freebsd"
|
|
#define CFLAGS "-g -O0 -Wall -Werror"
|