summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-03-16 15:12:20 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-03-21 16:15:25 +0100
commitd51538bdbe5ea9e71a7205e39fcef387fbdb4b39 (patch)
treeafdab70fe59d9b6bedbadcd11a00d67e711d3b31 /testsuites
parentdosfs: Fix race condition msdos_dir_read() (diff)
downloadrtems-d51538bdbe5ea9e71a7205e39fcef387fbdb4b39.tar.bz2
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. Close #2939.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/fstests/fsdosfsname01/init.c11
1 files changed, 10 insertions, 1 deletions
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
@@ -193,6 +193,15 @@ static const name_duplicates DIRECTORY_DUPLICATES[
}
},
{
+ "Kurzdir",
+ 3,
+ {
+ "kurzdir",
+ "KURZDIR",
+ "Kurzdir"
+ }
+ },
+ {
"long_conventional_dir",
3,
{