mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 05:15:01 +00:00
kernel32: Fix two test failures on Win98 due to missing GetTempPathW.
This commit is contained in:
parent
4d84eb26d0
commit
b7917bcfda
1 changed files with 12 additions and 1 deletions
|
@ -387,7 +387,13 @@ static void test_readdirectorychanges(void)
|
|||
return;
|
||||
}
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
r = GetTempPathW( MAX_PATH, path );
|
||||
if (!r && (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED))
|
||||
{
|
||||
skip("GetTempPathW is not implemented\n");
|
||||
return;
|
||||
}
|
||||
ok( r != 0, "temp path failed\n");
|
||||
if (!r)
|
||||
return;
|
||||
|
@ -600,8 +606,13 @@ static void test_readdirectorychanges_null(void)
|
|||
skip("ReadDirectoryChangesW is not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
r = GetTempPathW( MAX_PATH, path );
|
||||
if (!r && (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED))
|
||||
{
|
||||
skip("GetTempPathW is not implemented\n");
|
||||
return;
|
||||
}
|
||||
ok( r != 0, "temp path failed\n");
|
||||
if (!r)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue