From 4142fc9b52555d6a273c3a2d14893711e7e841a6 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 2 Jul 2013 10:03:50 +0200 Subject: [PATCH] ntdll/tests: Don't test . and .. masks, they don't work on Windows. --- dlls/ntdll/tests/directory.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/ntdll/tests/directory.c b/dlls/ntdll/tests/directory.c index bc5d860a12..f495fb3399 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);