From d50ab07938ed3bfe4af7ec23798599d83a9e00f8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 16 Mar 2017 15:12:20 +0100 Subject: dosfs: Fix file name search Do not use our long file name entry count to optimize the file name search. The Unicode comparison must be taken into account. Update #2939. --- testsuites/fstests/fsdosfsname01/init.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'testsuites/fstests') diff --git a/testsuites/fstests/fsdosfsname01/init.c b/testsuites/fstests/fsdosfsname01/init.c index 7d8dfc15b7..6ecb7f24dc 100644 --- a/testsuites/fstests/fsdosfsname01/init.c +++ b/testsuites/fstests/fsdosfsname01/init.c @@ -50,7 +50,7 @@ const char rtems_test_name[] = "FSDOSFSNAME 1"; #define NUMBER_OF_DIRECTORIES 8 #define NUMBER_OF_FILES 13 #define NUMBER_OF_DIRECTORIES_INVALID 25 -#define NUMBER_OF_DIRECTORIES_DUPLICATED 2 +#define NUMBER_OF_DIRECTORIES_DUPLICATED 3 #define NUMBER_OF_MULTIBYTE_NAMES_DUPLICATED 2 #define NUMBER_OF_FILES_DUPLICATED 2 #define NUMBER_OF_NAMES_MULTIBYTE 10 @@ -192,6 +192,15 @@ static const name_duplicates DIRECTORY_DUPLICATES[ "Shrtdir" } }, + { + "Kurzdir", + 3, + { + "kurzdir", + "KURZDIR", + "Kurzdir" + } + }, { "long_conventional_dir", 3, -- cgit v1.2.3