diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-11-13 00:46:50 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-11-13 00:46:50 +0000 |
| commit | ba02bbbe86aeca0c95c8e7d12c1be357ebb3ddeb (patch) | |
| tree | 07cfbef8f683efa180d1e15f1139eeac7955645a /lib/libdiff/tests | |
| parent | 821f8ae42f42f8004567a2e202d031d76525bae9 (diff) | |
tests: Add test for vn_io_fault1 bug
This bug was fixed in b487aca48535, but I did not have a regression
test ready for it at the time.
The test allocates a large buffer, faults part of it in and leaves the
rest unmapped, then tries to read a 3 GiB file into it. If the bug is
present, the read succeeds, but the return value exceeds the requested
amount by exactly one page less than the amount that was prefaulted.
PR: 298159
MFC after: 1 week
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D61475
Diffstat (limited to 'lib/libdiff/tests')
0 files changed, 0 insertions, 0 deletions
