| #
faf3bea1 |
| 22-Dec-2024 |
riastradh <riastradh@NetBSD.org> |
t_time_arith: New test for timer calculations.
This will facilitate fixing various problems in the arithmetic to determine, given an itimer's scheduled time (it_value) and periodic interval (it_inte
t_time_arith: New test for timer calculations.
This will facilitate fixing various problems in the arithmetic to determine, given an itimer's scheduled time (it_value) and periodic interval (it_interval) along with the current time of actual expiry (now), what time the itimer should be rescheduled for (next, new value of it_timer) on the same clock.
Later we can also put tests for other functions like tvtohz here, and make them test many different values of hz/tick.
XXX Not 100% sure about all of these cases -- there is some room for reasonable discussion about what the right answer is. But we have unquestionably implemented the wrong thing for many of these cases, even if the answers this test checks for may not be quite right yet.
PR kern/58922: itimer(9): arithmetic overflow PR kern/58925: itimer(9) responds erratically to clock wound back PR kern/58926: itimer(9) integer overflow in overrun counting PR kern/58927: itimer(9): overrun accounting is broken
show more ...
|
| #
b48dffc9 |
| 10-Nov-2024 |
riastradh <riastradh@NetBSD.org> |
tests/kernel/t_cloexec: New tests for close-on-exec.
Verified that the following tests fail on a netbsd-10 kernel:
- clonedev_posixspawn - dup3_posixspawn - fcntldupfd_posixspawn
PR kern/58822: cl
tests/kernel/t_cloexec: New tests for close-on-exec.
Verified that the following tests fail on a netbsd-10 kernel:
- clonedev_posixspawn - dup3_posixspawn - fcntldupfd_posixspawn
PR kern/58822: close-on-exec is broken for dup3 and opening cloning devices
show more ...
|
| #
e4f43b7b |
| 09-Oct-2024 |
kre <kre@NetBSD.org> |
Add a test for clock_nanotime() [ PR kern/58733 ]
Add a t_nanosleep test to the kernel tests, to (to a limited extent) validate its functionality.
Initially this concentrates on the issue from PR k
Add a test for clock_nanotime() [ PR kern/58733 ]
Add a t_nanosleep test to the kernel tests, to (to a limited extent) validate its functionality.
Initially this concentrates on the issue from PR kern/58733 where if a process paused in nanosleep() is stopped, and then continued, and if it is using TIMER_ABSTIME, the call will return prematurely, but indicating success.
There are (currently) 4 test cases, to test all 4 possibilities using CLOCK_MONOTONIC and CLOCK_REALTIME (if someone wants to add any other clocks that make sense, that should be easy) and TIMER_ABSTIME and TIMER_RELTIME.
Currently both TIMER_ABSTIME tests fail (the TIMER_RELTIME tests pass). When the kernel bug is fixed, the ABSTIME tests should be fixed along with it.
These tests are currently somewhat crude, and I'm not sure how well they will work on a qemu test system (they work as expected on bare metal).
show more ...
|
| #
af3a5449 |
| 04-Oct-2024 |
msaitoh <msaitoh@NetBSD.org> |
tests: Fix build error. Set TESTS_SH correctly.
|
| #
a46b73af |
| 03-Oct-2024 |
christos <christos@NetBSD.org> |
new semtimedop(2) test GSoC 2024 (Shivraj Jamgade)
|
| #
564557bb |
| 09-Aug-2024 |
bad <bad@NetBSD.org> |
add tests/kernel/t_umount.c: test case for unmount(2)
demonstrate that failing to umount and async mounted file system causes the kernel syncer to start flushing dirty buffers for it.
PR kern/58564
add tests/kernel/t_umount.c: test case for unmount(2)
demonstrate that failing to umount and async mounted file system causes the kernel syncer to start flushing dirty buffers for it.
PR kern/58564: async mounts revert to being synced after failed unmount
show more ...
|
| #
76248f07 |
| 22-Apr-2024 |
pho <pho@NetBSD.org> |
Add a test for kern/58149
aarch64: Cannot return from a signal handler if SP was misaligned when the signal arrived
|
| #
1b17496e |
| 17-Oct-2023 |
rjs <rjs@NetBSD.org> |
The t_fdrestart test requires rump.
|
| #
5ba0017f |
| 15-Oct-2023 |
riastradh <riastradh@NetBSD.org> |
t_fdrestart: New test of closing fd with another thread in I/O on it.
Adapted from regress/sys/kern/dislodgefd.
PR kern/57659
|
| #
e6ea8674 |
| 03-Aug-2023 |
nia <nia@NetBSD.org> |
Revert addition of epoll to libc until discussion concludes
|
| #
d3ba7ba3 |
| 29-Jul-2023 |
christos <christos@NetBSD.org> |
Add tests for t_memfd_create and fix bug found by tests
|
| #
d11110f4 |
| 28-Jul-2023 |
christos <christos@NetBSD.org> |
Add epoll(2) from Theodore Preduta as part of GSoC 2023
|
| #
1a214827 |
| 03-Jun-2023 |
lukem <lukem@NetBSD.org> |
adapt to ${CC_WNO_FORMAT_TRUNCATION}
|
| #
04d453bc |
| 21-Apr-2023 |
gutteridge <gutteridge@NetBSD.org> |
Add new test t_open_pr_57260
New test case that reflects the fix in PR kern/57260. The majority of work for this case itself was by riastradh@, who'd supplied the basis for it in the ticket, and pro
Add new test t_open_pr_57260
New test case that reflects the fix in PR kern/57260. The majority of work for this case itself was by riastradh@, who'd supplied the basis for it in the ticket, and provided further guidance.
show more ...
|
| #
503b7706 |
| 01-Oct-2021 |
martin <martin@NetBSD.org> |
t_simplehook requires RUMP
|
| #
5256dbbc |
| 30-Sep-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Added tests for the linear hook APIs
|
| #
4704e28c |
| 01-Jul-2020 |
jruoho <jruoho@NetBSD.org> |
Add basic checks for magic symlink(7)'s. These include a case for PR lib/55361, although it seems that realpath(3) has bigger problems with these symlinks.
|
| #
2a70c174 |
| 25-Jun-2020 |
jruoho <jruoho@NetBSD.org> |
Add a test case for PR kern/52744, which no longer appears to be present.
|
| #
0dc8cda9 |
| 01-Mar-2020 |
christos <christos@NetBSD.org> |
Centralize the base rump libraries into a variable used by all the other Makefiles so that we can make changes to it centrally as needed and have less mess. Fixes the sun2 build that needs rumpvfs af
Centralize the base rump libraries into a variable used by all the other Makefiles so that we can make changes to it centrally as needed and have less mess. Fixes the sun2 build that needs rumpvfs after librump after the latest changes.
show more ...
|
| #
d78835f0 |
| 11-Feb-2020 |
riastradh <riastradh@NetBSD.org> |
Test that fpu state is preserved by fork.
|
| #
21303c93 |
| 29-Sep-2019 |
mrg <mrg@NetBSD.org> |
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
|
| #
7d2cda35 |
| 15-Sep-2019 |
christos <christos@NetBSD.org> |
Add tests for fexecve(2)
|
| #
0a76d2ed |
| 15-Sep-2019 |
christos <christos@NetBSD.org> |
Add F_GETPATH, presented to tech-kern.
|
| #
8d8be769 |
| 15-Aug-2019 |
kamil <kamil@NetBSD.org> |
Adapt tests/kernel/t_subr_prf for MKSANITIZER
Allow to rename snprintf-like functions to avoid clashes with a sanitizer.
This tests needs a fixup to remove 'undef symbol' from the test code generat
Adapt tests/kernel/t_subr_prf for MKSANITIZER
Allow to rename snprintf-like functions to avoid clashes with a sanitizer.
This tests needs a fixup to remove 'undef symbol' from the test code generator.
show more ...
|
| #
da8b7648 |
| 07-Jun-2019 |
christos <christos@NetBSD.org> |
Add a $ORIGIN test
|