Alexandre Julliard : ntdll/tests: Don't test . and .. masks, they don' t work on Windows.
Alexandre Julliard
julliard at winehq.org
Tue Jul 2 14:31:28 CDT 2013
Module: wine
Branch: master
Commit: 4142fc9b52555d6a273c3a2d14893711e7e841a6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4142fc9b52555d6a273c3a2d14893711e7e841a6
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jul 2 10:03:50 2013 +0200
ntdll/tests: Don't test . and .. masks, they don't work on Windows.
---
dlls/ntdll/tests/directory.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tests/directory.c b/dlls/ntdll/tests/directory.c
index bc5d860..f495fb3 100644
--- a/dlls/ntdll/tests/directory.c
+++ b/dlls/ntdll/tests/directory.c
@@ -261,6 +261,8 @@ static void test_NtQueryDirectoryFile(void)
for (i = 0; testfiles[i].name; i++)
{
UNICODE_STRING mask;
+
+ if (testfiles[i].nameW[0] == '.') continue; /* . and .. as masks are broken on Windows */
mask.Buffer = testfiles[i].nameW;
mask.Length = mask.MaximumLength = lstrlenW(testfiles[i].nameW) * sizeof(WCHAR);
test_flags_NtQueryDirectoryFile(&attr, testdirA, &mask, FALSE, TRUE);
More information about the wine-cvs
mailing list