Files
erofs-freebsd-out-tree/tests/TC067-shared-xattr-scan-found.md
T
2026-08-13 10:44:59 +02:00

890 B

Test Case: Shared xattr scan found

Test ID: TC067-shared-xattr-scan-found Fixture: basic.erofs, /shared-a, /shared-b

Objective

Verify that shared IDs are scanned after inline entries and return exact data. The generator manifest must show shared_key in the shared table and local inline on /shared-a.

Manual steps

Mount basic.erofs using G4-MANUAL-SETUP.md, then run:

lsextattr user /mnt/repo22-g4/shared-a
getextattr -qq -x user shared_key /mnt/repo22-g4/shared-a
getextattr -qq -x user shared_key /mnt/repo22-g4/shared-b
getextattr -qq -x user local /mnt/repo22-g4/shared-a
stat -f 'size=%z inode=%i' /mnt/repo22-g4/shared-a

Expected results

Both shared reads equal shared-value\0exact byte-for-byte, the inline read is in-bounds-local, and list output contains all four expected user names. Unmount and detach before the next TC.