Dmitry Timoshkov : kernel32: Mask out FILE_ATTRIBUTE_NOT_CONTENT_INDEXED to prevent a test failure under Windows .
Module: wine Branch: master Commit: d1a3025826735ca023d1c3ef4dfd7c0e0de2ec97 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d1a3025826735ca023d1c3ef4d... Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu Nov 15 13:35:27 2007 +0800 kernel32: Mask out FILE_ATTRIBUTE_NOT_CONTENT_INDEXED to prevent a test failure under Windows. --- dlls/kernel32/tests/file.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/kernel32/tests/file.c b/dlls/kernel32/tests/file.c index cb3fc35..0786964 100644 --- a/dlls/kernel32/tests/file.c +++ b/dlls/kernel32/tests/file.c @@ -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);
participants (1)
-
Alexandre Julliard