This commit is contained in:
2026-08-18 09:20:44 +02:00
commit b826cd721a
522 changed files with 93730 additions and 0 deletions
+28
View File
@@ -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.