[kernel32/tests] Fix some test failures on WinMe
Alexandre Julliard
julliard at winehq.org
Thu Sep 24 08:22:29 CDT 2009
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.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list