Module: wine Branch: master Commit: 67c26f4ec30886fc1279d72bdab6524983ce9343 URL: http://source.winehq.org/git/wine.git/?a=commit;h=67c26f4ec30886fc1279d72bda...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Wed Apr 25 13:21:19 2007 +0200
kernel32/tests: GetLongPathNameW is not implemented on win98.
---
dlls/kernel32/tests/path.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/path.c b/dlls/kernel32/tests/path.c index 9212165..33fcf6f 100644 --- a/dlls/kernel32/tests/path.c +++ b/dlls/kernel32/tests/path.c @@ -941,6 +941,11 @@ static void test_GetLongPathNameW(void) { SetLastError(0xdeadbeef); length = pGetLongPathNameW(NULL,NULL,0); + if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) + { + skip("GetLongPathNameW is not implemented\n"); + return; + } ok(0==length,"GetLongPathNameW returned %d but expected 0\n",length); ok(GetLastError()==ERROR_INVALID_PARAMETER,"GetLastError returned %d but expected ERROR_INVALID_PARAMETER\n",GetLastError());