25 lines
742 B
Markdown
25 lines
742 B
Markdown
# Test Case: Multiple inline user xattrs
|
|
|
|
**Test ID**: TC074-inline-user-xattr-multiple
|
|
**Fixture**: `basic.erofs`, `/inline-multi`
|
|
|
|
## Objective
|
|
|
|
Verify list/get across several inline user entries, including embedded NUL and
|
|
binary values. Qualify their inline offsets in `fixture-manifest.json` first.
|
|
|
|
## Manual steps
|
|
|
|
```sh
|
|
lsextattr user /mnt/repo22-g4/inline-multi
|
|
getextattr -qq -x user attr1 /mnt/repo22-g4/inline-multi
|
|
getextattr -qq -x user attr2 /mnt/repo22-g4/inline-multi
|
|
getextattr -qq -x user attr3 /mnt/repo22-g4/inline-multi
|
|
stat -f 'mode=%Sp size=%z' /mnt/repo22-g4/inline-multi
|
|
```
|
|
|
|
## Expected results
|
|
|
|
Names are `attr1`, `attr2`, `attr3`; values are `one`, `two\0binary`, and
|
|
bytes `00` through `1f`. Unmount and detach.
|