This commit is contained in:
2026-08-18 09:20:44 +02:00
commit b826cd721a
522 changed files with 93730 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# Test Case: Lookup - Existing Entries
**Test ID**: TC043-lookup-found
**Category**: Directory Operations
**Priority**: Critical
## Objective
Verify exact-name lookup of regular, directory, and symlink entries returns
stable vnode metadata and source-exact data.
## Procedure
Mount vfs/vfs-plain.erofs and run:
./g3_vfs_probe stat /tmp/repo22-g3/mnt/testdir/file.txt
./g3_vfs_probe stat /tmp/repo22-g3/mnt/testdir/subdir
./g3_vfs_probe stat /tmp/repo22-g3/mnt/testdir/shortlink
./g3_vfs_probe stat /tmp/repo22-g3/mnt/testdir/file.txt
cmp fixtures/vfs/source/testdir/file.txt \
/tmp/repo22-g3/mnt/testdir/file.txt
sha256 fixtures/vfs/source/testdir/file.txt \
/tmp/repo22-g3/mnt/testdir/file.txt
## Expected Results
All lookups succeed, repeated file lookup reports the same nonzero inode, each
type/mode/size matches fixture evidence, and source/mounted hashes are equal.
Record command statuses and cleanup.