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
+27
View File
@@ -0,0 +1,27 @@
# Test Case: Lookup - Case Sensitivity
**Test ID**: TC045-lookup-case-sensitive
**Category**: Directory Operations
**Priority**: High
## Objective
Verify four distinct case variants resolve independently and an unrecorded
case variant returns ENOENT.
## Procedure
Mount vfs/vfs-plain.erofs and run:
stat -f 'name=%N ino=%i size=%z' \
/tmp/repo22-g3/mnt/testdir/file.txt \
/tmp/repo22-g3/mnt/testdir/File.txt \
/tmp/repo22-g3/mnt/testdir/FILE.TXT \
/tmp/repo22-g3/mnt/testdir/FiLe.TxT
./g3_vfs_probe expect-error stat \
/tmp/repo22-g3/mnt/testdir/fILE.txt 2
## Expected Results
The four exact variants have four nonzero, distinct NIDs and their recorded
sizes. The unmatched spelling returns errno 2. Record output and cleanup.