[kernel32/tests] Fix some test failures on WinMe
Paul Vriens
paul.vriens.wine at gmail.com
Thu Sep 24 12:38:39 CDT 2009
On 09/24/2009 03:22 PM, Alexandre Julliard wrote:
> Paul Vriens<paul.vriens.wine at gmail.com> writes:
>
>> @@ -1894,10 +1895,18 @@ static void test_FindFirstFileExA(void)
>> ok(FindNextFile(handle,&search_results), "Fetching third file failed\n");
>> ok(CHECK_NAME(search_results.cFileName), "Invalid third entry - %s\n", search_results.cFileName);
>>
>> - ok(FindNextFile(handle,&search_results), "Fetching fourth file failed\n");
>> + SetLastError(0xdeadbeef);
>> + ret = FindNextFile(handle,&search_results);
>> + ok( ret ||
>> + broken(!ret&& GetLastError() == ERROR_NO_MORE_FILES), /* WinMe */
>> + "Fetching fourth file failed\n");
>
> It sounds like it's actually respecting the FindExSearchLimitToDirectories
> flag, so I'm not sure this qualifies as broken. Maybe testing without
> that flag too would be a better test.
>
Something like the attached?
--
Cheers,
Paul.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20090924/f8d11f68/attachment.asc>
More information about the wine-devel
mailing list