kernel32: Mask out FILE_ATTRIBUTE_NOT_CONTENT_INDEXED to prevent a test failure under Windows.

This commit is contained in:
Dmitry Timoshkov 2007-11-15 13:35:27 +08:00 committed by Alexandre Julliard
parent 07efb2740b
commit d1a3025826
1 changed files with 1 additions and 0 deletions

View File

@ -318,6 +318,7 @@ static void test__lcreat( void )
ok ( 0 != ret, "FindClose complains (%d)\n", GetLastError ());
ok (!strcmp (filename, search_results.cFileName),
"found unexpected name \"%s\"\n", search_results.cFileName);
search_results.dwFileAttributes &= ~FILE_ATTRIBUTE_NOT_CONTENT_INDEXED;
ok (FILE_ATTRIBUTE_ARCHIVE==search_results.dwFileAttributes,
"attributes of file \"%s\" are 0x%04x\n", search_results.cFileName,
search_results.dwFileAttributes);