opnsense-src/tests/sys
Kyle Evans 121740e185 kqueue: don't arbitrarily restrict long-past values for NOTE_ABSTIME
NOTE_ABSTIME values are converted to values relative to boottime in
filt_timervalidate(), and negative values are currently rejected.  We
don't reject times in the past in general, so clamp this up to 0 as
needed such that the timer fires immediately rather than imposing what
looks like an arbitrary restriction.

Another possible scenario is that the system clock had to be adjusted
by ~minutes or ~hours and we have less than that in terms of uptime,
making a reasonable short-timeout suddenly invalid. Firing it is still
a valid choice in this scenario so that applications can at least
expect a consistent behavior.

(cherry picked from commit 9c999a259f)
(cherry picked from commit 2f4dbe279f)
2021-10-06 02:03:53 -05:00
..
acl Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
aio Temporarily skip flaky tset cases under sys.aio.aio_test in CI 2021-09-30 03:38:35 +08:00
audit tests/sys/audit: add missing comma delimiter between fields 2021-03-17 22:22:48 +00:00
auditpipe Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
capsicum Simplify the capsicum-test wrapper script 2021-03-17 22:22:49 +00:00
cddl tests/sys/cddl: correctly quote atf_set "require.progs" 2021-03-17 22:22:50 +00:00
common pf tests: test ALTQ CBQ on top of if_vlan 2021-09-01 15:27:01 +02:00
devrandom Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
fifo Avoid hard-coding pipe buffer sizes in the pipe and fifo kqueue tests. 2020-05-20 17:48:18 +00:00
file path_test: Fix test sorting 2021-09-15 09:09:32 -04:00
fs Silence more gtest warnings, now in fusefs tests 2021-08-31 21:05:47 +02:00
geom gmultipath failloop test: Add a checker for dtrace executes successfully or not 2021-09-30 11:57:06 +08:00
kern Fix build with read-only source dir after 83c20b8a2d 2021-04-22 10:41:20 +01:00
kqueue kqueue: don't arbitrarily restrict long-past values for NOTE_ABSTIME 2021-10-06 02:03:53 -05:00
mac Resolve conflict between the fusefs(5) and mac_bsdextended(4) tests 2020-05-02 20:14:59 +00:00
mqueue Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
net net tests: basic test case for bpf(4)'s ability to set vlan pcp 2021-08-02 16:50:32 +02:00
netgraph tests/netgraph: Tests for ng_vlan_rotate 2021-06-16 13:25:04 +02:00
netinet netinet tests: delete an interface with pending lookups 2021-08-24 09:03:21 +02:00
netinet6 Add arp/ndp tests in addition to rtsock ll tests. 2021-08-24 09:02:15 +02:00
netipsec ping: fix some man pages and tests after r368045 2020-11-26 04:55:02 +00:00
netmap Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
netpfil pf tests: synproxy to localhost test 2021-09-17 17:55:40 +02:00
opencrypto Remove __NO_TLS. 2021-03-02 02:49:42 +02:00
pjdfstest Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
posixshm posixshm_test.c: remove tautological checks 2020-12-11 22:52:20 +00:00
sys tests/sys/sys: Raise WARNS 2021-10-01 10:06:41 -04:00
vfs tests/sys/vfs/lookup_cap_dotdot: No longer aborts after ATF update 2021-03-17 12:22:03 +00:00
vm shared shadow vm object invalidation regression test 2021-07-02 14:14:32 -07:00
vmm vmm: Add credential to cdev object 2021-09-01 09:07:42 -04:00
Makefile vmm: Add credential to cdev object 2021-09-01 09:07:42 -04:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00