On 12/21/2009 02:32 AM, Nikolay Sivov wrote:
Fix last error in SearchPathA/W with tests
Hi Nikolay,
Any reason all tests are relying on both the A- and W-version being
available?
SearchPathA is implemented on Win98. SearchPathW is exported but not
implemented. This means the current tests will fail on Win98 for example:
path.c:1490: Test failed: Expected ERROR_INVALID_PARAMETER, got 2
path.c:1497: Test failed: Expected ERROR_INVALID_PARAMETER, got 78
path.c:1504: Test failed: Expected ERROR_INVALID_PARAMETER, got 78
So SearchPathA returns something different for the last error and the
SearchPathW tests already fail because GetWindowsDirectoryW() is not
implemented (next to SearchPathW itself not being implemented of course).
--
Cheers,
Paul.