=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: psapi/tests: Fix test on win8.
Alexandre Julliard
julliard at winehq.org
Tue Dec 4 13:48:53 CST 2012
Module: wine
Branch: master
Commit: cd465edb0002aa1f2829760a9cc296330f929ef9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cd465edb0002aa1f2829760a9cc296330f929ef9
Author: André Hentschel <nerv at dawncrow.de>
Date: Mon Dec 3 22:55:35 2012 +0100
psapi/tests: Fix test on win8.
---
dlls/psapi/tests/psapi_main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/psapi/tests/psapi_main.c b/dlls/psapi/tests/psapi_main.c
index 312d544..130c33e 100644
--- a/dlls/psapi/tests/psapi_main.c
+++ b/dlls/psapi/tests/psapi_main.c
@@ -317,7 +317,8 @@ todo_wine
ret = pGetMappedFileNameA(GetCurrentProcess(), base, map_name, 0);
ok(!ret, "GetMappedFileName should fail\n");
todo_wine
- ok(GetLastError() == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
+ ok(GetLastError() == ERROR_INVALID_PARAMETER || GetLastError() == ERROR_INSUFFICIENT_BUFFER,
+ "wrong error %d\n", GetLastError());
SetLastError(0xdeadbeef);
ret = pGetMappedFileNameA(GetCurrentProcess(), base, 0, sizeof(map_name));
More information about the wine-cvs
mailing list