The NetBSD Project

CVS log for src/tests/kernel/kqueue/t_timer.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / kernel / kqueue

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.4 / (download) - annotate - [select for diffs], Sun Nov 21 09:35:39 2021 UTC (14 months, 2 weeks ago) by hannken
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.3: +39 -37 lines
Diff to previous 1.3 (colored)

Test kernel/kqueue/t_timer, subtests abstime, basic_timer and timer_units
often fail when run on QEMU because QEMU misses clock interrupts.

Always check timespec against expected "tv_sec" and use an "4 * tv_sec"
upper bound when run under QEMU.

Now becomes part of PR kern/43997 "Kernel timer discrepancies".

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 22 13:53:20 2021 UTC (15 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.2: +8 -2 lines
Diff to previous 1.2 (colored)

In the "modify" test case, immediately after modifying the timer, validate
that its associated knote in the kernel has actually been deactivated.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 22 04:49:24 2021 UTC (15 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.1: +79 -2 lines
Diff to previous 1.1 (colored)

Support modifying an existing timer without having to delete it first.
Semantics match FreeBSD.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 13 04:57:19 2021 UTC (15 months, 3 weeks ago) by thorpej
Branch: MAIN

Add support for the NOTE_SECONDS, NOTE_MSECONDS, NOTE_USECONDS,
NOTE_NSECONDS, and NOTE_ABSTIME filter flags to EVFILT_TIMER,
API-compatible with the same in FreeBSD.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>