test code v1

This commit is contained in:
2026-08-13 10:44:59 +02:00
commit f3b1165f19
301 changed files with 37885 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# Test Case: FreeBSD 15 Local Vnode Pager
**Test ID**: TC064-vop-getpages-normal
**Category**: VM Integration
**Priority**: Critical
## Objective
Verify the exact KLD resolves FreeBSD 15 local pager entry points and real
plain/LZ4 vnode mappings fault data through the pager.
## Procedure
Record unresolved KLD symbols with nm -u. On separate fresh mounts of
vfs/vfs-plain.erofs and vfs/vfs-lz4.erofs, run:
./mmap_fault /tmp/repo22-g3/mnt/pager.bin
## Expected Results
The KLD loads with vnode_pager_local_getpages and
vnode_pager_local_getpages_async resolved. Both helpers report identical
21211-byte FNV hashes, six random faults, partial-EOF zeroing, expected child
SIGBUS, denied writable shared mapping, private COW, and O_RDWR EROFS. Record
both image hashes, dmesg, and per-mount cleanup.