Files
erofs-freebsd-out-tree/tests/TC068-shared-xattr-scan-notfound.md
T
2026-08-18 09:20:44 +02:00

27 lines
753 B
Markdown

# Test Case: Shared xattr scan not found
**Test ID**: TC068-shared-xattr-scan-notfound
**Fixture**: `basic.erofs`, `/shared-a`
## Objective
Verify clean exhaustion of inline and shared scans and namespace isolation.
## Manual steps
Mount `basic.erofs`, list the user namespace, then capture both misses:
```sh
lsextattr user /mnt/repo22-g4/shared-a
truss -o /tmp/tc068-name.truss \
getextattr -qq user nonexistent /mnt/repo22-g4/shared-a
truss -o /tmp/tc068-ns.truss \
getextattr -qq system shared_key /mnt/repo22-g4/shared-a
grep extattr_get_file /tmp/tc068-*.truss
```
## Expected results
Both kernel calls return `ENOATTR` (87), with no `EINTEGRITY`, delay, or name
leak into the FreeBSD `system` namespace. Unmount and detach the image.