test code v1

This commit is contained in:
2026-08-13 10:44:59 +02:00
commit f3b1165f19
301 changed files with 37885 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
# Test Case: Directory without dot_omitted
**Test ID**: TC027-dot-omitted-without
## Objective
Verify a bit-4-clear directory reads explicit on-disk `.` and `..` entries.
## Fixture
Use `images/compact.erofs` and `/dotdir`. Structured evidence asserts bit 4 is
clear and names are `.,..,child.txt`; production `dump.erofs --ls` also
qualifies this baseline.
## Procedure
Host:
```sh
dump.erofs --ls --path=/dotdir /work/build/repo22-g1/images/compact.erofs
```
Guest after mount:
```sh
stat -f 'ino=%i nlink=%l mode=%p' "$mnt/dotdir"
ls -lai "$mnt/dotdir"
cmp /tmp/repo22-g1/source/compact/dotdir/child.txt "$mnt/dotdir/child.txt"
```
## Expected Results
- Host inspection and FreeBSD listing both contain explicit `.` and `..`.
- Child data matches the source, directory attributes are valid, and cleanup
succeeds.