mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
ntdll/tests: Don't test . and .. masks, they don't work on Windows.
This commit is contained in:
parent
2d0653e2b2
commit
4142fc9b52
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user