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: Prefix table lookup
**Test ID**: TC080-prefix-table-lookup
**Fixture**: `basic.erofs`, `/prefix-user-0` through `/prefix-user-3`
## Objective
Verify repeated prefix-ID lookup and a clean missing-suffix result.
## Manual steps
Run the following lookup separately for suffix files 0, 1, 2, and 3:
```sh
getextattr -qq -x user repo22.application.component.setting \
/mnt/repo22-g4/prefix-user-N
truss -o /tmp/tc080.truss getextattr -qq user \
repo22.application.component.missing /mnt/repo22-g4/prefix-user-0
grep extattr_get_file /tmp/tc080.truss
```
## Expected results
Values are `prefix-value-N` for each file; the missing suffix is `ENOATTR`
(87), not an integrity failure. Unmount and detach.