[kernel32/tests] Fix some test failures on Win9x and WinME
paul.vriens.wine at gmail.com
Mon Mar 30 03:50:27 CDT 2009
Win9x and WinME have some different results but the important piece of this
patch is the Sleep() that's needed to make the tests reliable on these platforms.
As I needed to check the resulting file after each test I also saw that the
Sleep() was needed to see any change in that file. I did experiment with the
timeout value and 1000 seems to be the most reliable.
After this patch the only failures (4 of them) left are the ones where
Win9x/WinME have some extra "\r\n" in the resulting file. I'm still trying to
figure out the cleanest solution to fix the tests to cope with this (either add
a broken() to the ok() with an alternate value or change check_file_data() to
cope with an alternate result).
Fix some test failures on Win9x and WinME
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the wine-patches