Home | History | Annotate | Download | only in sys
History log of /src/tests/lib/libc/sys/t_timerfd.c
RevisionDateAuthorComments
 1.12  16-Apr-2025  riastradh t_timer_create, t_timerfd: Make the invalidtime tests make sense.

Don't use uninitialized memory. Skip the absolute test when it's
just a time in the past (which should expire immediately), not an
invalid time.

PR misc/59300: timer/timerfd invalidtime tests are failing
 1.11  19-Dec-2024  riastradh timerfd_settime(2): Return relative duration remaining.

Not absolute time of next event.

PR kern/58917: timer_settime and timerfd_settime return absolute time
of next event
 1.10  19-Dec-2024  riastradh timerfd_settime(2): Sanitize inputs like timer_settime(2).

PR kern/58914: timerfd_settime(2) is missing itimespecfix
 1.9  19-Dec-2024  riastradh t_timerfd: Test for timerfd_settime old_value.

PR kern/58917: timer_settime and timerfd_settime return absolute time
of next event
 1.8  19-Dec-2024  riastradh t_timerfd: Sprinkle additional tests of various edge cases.

PR kern/58914: timerfd_settime(2) is missing itimespecfix
 1.7  19-Dec-2024  riastradh t_timerfd: Fix select/poll tests and add kevent EVFILT_WRITE test.

PR kern/58916: timerfd(2) claims ready for write
 1.6  18-Dec-2024  riastradh timerfd(2): Do not claim writable.

Writes will fail with EOPNOTSUPP.

PR kern/58916: timerfd(2) claims ready for write
 1.5  08-Jul-2023  riastradh t_timerfd: Sprinkle slightly more diagnostics.

Might help us to see if we're off by just a little bit (maybe a tiny
jitter between the hardclock timer and the monotonic clock), or if
something is seriously amiss when the timerfd_block test fails
sporadically.
 1.4  20-Feb-2022  thorpej Validate basic fcntl(2) behavior for eventfd and timerfd.
 1.3  01-Nov-2021  hannken Test lib/libc/sys/t_timerfd often fails when run on QEMU because
QEMU misses clock interrupts.

Always check values against [ lower, upper ] bounds and use "4 * upper"
when run under QEMU.

Now becomes part of PR kern/43997 "Kernel timer discrepancies".
 1.2  19-Sep-2021  thorpej Add native implementations of eventfd(2) and timerfd(2), compatible with
the Linux interfaces of the same name.
 1.1  14-Dec-2020  thorpej branches: 1.1.2;
file t_timerfd.c was initially added on branch thorpej-futex.
 1.1.2.1  14-Dec-2020  thorpej Unit tests for timerfd.

RSS XML Feed