Module: wine Branch: master Commit: c9434956d5b098df19a133dcc9022ce97fc86447 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c9434956d5b098df19a133dcc9...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Thu Jan 10 11:05:35 2008 +0100
kernel32/tests: Skip not implemented functions.
---
dlls/kernel32/tests/path.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/path.c b/dlls/kernel32/tests/path.c index 4de58c2..05111a8 100644 --- a/dlls/kernel32/tests/path.c +++ b/dlls/kernel32/tests/path.c @@ -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 );