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: Dotdot Entry Handling
**Test ID**: TC050-dotdot-handling
**Category**: Directory Operations
**Priority**: High
## Objective
Verify dotdot is returned and resolves nested paths to the correct parent
vnode without lock-order failure.
## Procedure
Mount vfs/vfs-plain.erofs and run:
./readdir_probe /tmp/repo22-g3/mnt/parent/child 128
stat -f '%i %HT' /tmp/repo22-g3/mnt/parent
stat -f '%i %HT' /tmp/repo22-g3/mnt/parent/child/..
cmp fixtures/vfs/source/parent/file.txt \
/tmp/repo22-g3/mnt/parent/child/grandchild/../../file.txt
## Expected Results
The traversal contains one dotdot DT_DIR entry, both parent stat commands
report the same NID, and multiple dotdot components reach the expected file.
Record output, dmesg delta, and cleanup.