28 lines
773 B
Markdown
28 lines
773 B
Markdown
# 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.
|