Whamcloud - gitweb
EX-6792 tests: Added support of UTF-8 in lipe_find3
authorAlexandre Ioffe <aioffe@ddn.com>
Mon, 20 Feb 2023 04:50:07 +0000 (20:50 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 10 Mar 2023 19:51:00 +0000 (19:51 +0000)
commit48dac00dd282d363ebc6826e0369cc4f0598b57c
treef1bf948fb42b6973f4dcd0bab2db73a83613066f
parente21ee50df25a46ce5ce67531c60a1a308df586fb
EX-6792 tests: Added support of UTF-8 in lipe_find3

- Set locale UTF-8 before running shell command
- Use %s format when SCM script is produced to protect
UTF-8 symbols
- Use fnmatch when compare UTF-8 strings with no
case sensitivity
- Added test for UTF-8 file name test and path test
- Added test name in path name in test_109

Test-Parameters: trivial testlist=sanity-lipe-scan3,sanity-lipe-find3,sanityn
Signed-off-by: Alexandre Ioffe <aioffe@ddn.com>
Change-Id: I6c311ac0b2725f5414a5828d5577343ac8a22dee
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50066
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lipe/src/lipe_find3/lf3_parse.y
lipe/src/lipe_scan3/ls3_main.c
lustre/tests/sanity-lipe-find3.sh
lustre/tests/test-framework.sh