kernel32/tests: Skip not implemented functions.

oldstable
Paul Vriens 2008-01-10 11:05:35 +01:00 committed by Alexandre Julliard
parent 7b7838289f
commit c9434956d5
1 changed files with 7 additions and 0 deletions

View File

@ -972,7 +972,14 @@ static void test_GetShortPathNameW(void)
WCHAR name[] = { 't', 'e', 's', 't', 0 };
WCHAR backSlash[] = { '\\', 0 };
SetLastError(0xdeadbeef);
GetTempPathW( MAX_PATH, path );
if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
skip("GetTempPathW is not implemented\n");
return;
}
lstrcatW( path, test_path );
lstrcatW( path, backSlash );
ret = CreateDirectoryW( path, NULL );