aboutsummaryrefslogtreecommitdiff
path: root/lib/libdiff/tests
Commit message (Collapse)AuthorAgeFilesLines
* libdiff: Simplify truncation detectionDag-Erling Smørgrav2026-02-051-2/+1
| | | | | | | | | | | | | | | * Adjust the comment to reflect the fact that SIGBUS can occur not only if the file is truncated, but also if an I/O error occurs while paging in any part of it. * Instead of setting a flag, just return EIO. * Adjust the unit test accordingly. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: thj, kevans Differential Revision: https://reviews.freebsd.org/D55108
* diff: Nits in tests.Dag-Erling Smørgrav2024-05-201-0/+1
| | | | Sponsored by: Klara, Inc.
* libdiff: Add a test for the truncation issue.Dag-Erling Smørgrav2024-05-202-0/+69
Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D45218