This commit is contained in:
2026-08-18 09:20:44 +02:00
commit b826cd721a
522 changed files with 93730 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
# Test Case: Readdir - Basic Completeness
**Test ID**: TC046-readdir-basic
**Category**: Directory Operations
**Priority**: Critical
## Objective
Verify one complete getdirentries(2)/readdir(3) traversal returns the exact
fixture set, including dot and dotdot.
## Procedure
Mount vfs/vfs-plain.erofs and run:
./readdir_probe /tmp/repo22-g3/mnt/testdir 4096
find /tmp/repo22-g3/mnt/testdir -maxdepth 1 -mindepth 1 -print |
sed 's#.*/##' | sort > actual-testdir.txt
cmp fixtures/vfs/expected-testdir.txt actual-testdir.txt
## Expected Results
The manifest comparison is exact; the probe reports 36 unique entries and the
same ordered name/type hash through both APIs. Record the image hash and
cleanup.