generic: Add tests for filename casefolding feature

This new test implements verification for the per-directory
case-insensitive feature, as supported by the reference
implementation in Ext4.

Signed-off-by: Lakshmipathi.G <lakshmipathi.ganapathi@collabora.co.uk>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
  [Rewrite to support feature design]
  [Refactor to simplify implementation]
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Lakshmipathi.G
2019-06-12 14:40:33 -04:00
committed by Eryu Guan
parent 82feab4079
commit 12b7dddbc2
3 changed files with 526 additions and 0 deletions
+509
View File
File diff suppressed because it is too large Load Diff
+16
View File
@@ -0,0 +1,16 @@
QA output created by 556
SCRATCH_MNT/basic Extents, Casefold
SCRATCH_MNT/basic Extents
SCRATCH_MNT/casefold_flag_removal Extents, Casefold
SCRATCH_MNT/casefold_flag_removal Extents, Casefold
SCRATCH_MNT/flag_inheritance/d1/d2/d3 Extents, Casefold
SCRATCH_MNT/symlink/ind1/TARGET
mv: cannot stat 'SCRATCH_MNT/rename/rename': No such file or directory
# file: SCRATCH_MNT/xattrs/x
user.foo="bar"
# file: SCRATCH_MNT/xattrs/x/f1
user.foo="bar"
touch: setting times of 'SCRATCH_MNT/strict/corac'$'\314\247\303': Invalid argument
touch: setting times of 'SCRATCH_MNT/strict/cora'$'\303\247\303': Invalid argument
+1
View File
@@ -558,3 +558,4 @@
553 auto quick copy_range
554 auto quick copy_range swap
555 auto quick cap
556 auto quick casefold