This commit is contained in:
2026-08-18 09:20:44 +02:00
commit b826cd721a
522 changed files with 93730 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# Test Case: Dot Entry Handling
**Test ID**: TC049-dot-handling
**Category**: Directory Operations
**Priority**: High
## Objective
Verify dot is returned as a directory entry and explicit dot lookup resolves
to the same vnode as its directory.
## Procedure
Mount vfs/vfs-plain.erofs and run:
./readdir_probe /tmp/repo22-g3/mnt/testdir 128
stat -f '%i %HT' /tmp/repo22-g3/mnt/testdir
stat -f '%i %HT' /tmp/repo22-g3/mnt/testdir/.
cmp fixtures/vfs/source/testdir/file.txt \
/tmp/repo22-g3/mnt/./testdir/./file.txt
## Expected Results
The traversal includes one dot entry with DT_DIR, both stat commands report
the same directory NID, and paths containing dot read source-exact data.
Record output and cleanup.