update
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# Test Case: FLAT_INLINE Small File
|
||||
|
||||
**Test ID**: TC031-flat-inline-normal
|
||||
|
||||
## Objective
|
||||
|
||||
Verify a small uncompressed `FLAT_INLINE` payload stored in the inode metadata
|
||||
area and bounded by its metadata block.
|
||||
|
||||
## Fixture
|
||||
|
||||
Use `images/inline.erofs` and `source/inline/tiny.txt`. Evidence asserts layout
|
||||
2, compact inode, NID, and size.
|
||||
|
||||
## Procedure
|
||||
|
||||
```sh
|
||||
stat -f 'size=%z blocks=%b mode=%p' "$mnt/tiny.txt"
|
||||
cmp /tmp/repo22-g1/source/inline/tiny.txt "$mnt/tiny.txt"
|
||||
sha256 /tmp/repo22-g1/source/inline/tiny.txt "$mnt/tiny.txt"
|
||||
```
|
||||
|
||||
## Expected Results
|
||||
|
||||
- Layout is 2 and size/content match the source.
|
||||
- FreeBSD reports 8 allocated 512-byte sectors for the 4096-byte EROFS
|
||||
allocation unit; zero blocks is not the current qualified semantic.
|
||||
- Mount and cleanup succeed.
|
||||
Reference in New Issue
Block a user