Module: wine Branch: refs/heads/master Commit: b60f2b0f5b8d2889ef96e81a523515829b33ac2a URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=b60f2b0f5b8d2889ef96e81a...
Author: Detlef Riekenberg wine.dev@web.de Date: Mon May 22 00:39:33 2006 +0200
winspool/test: Disable a test that crashes on win9x.
---
dlls/winspool/tests/info.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/winspool/tests/info.c b/dlls/winspool/tests/info.c index 4483e65..b0d02a7 100644 --- a/dlls/winspool/tests/info.c +++ b/dlls/winspool/tests/info.c @@ -207,6 +207,8 @@ static void test_AddMonitor(void) "returned %ld with %ld (expected '0' with ERROR_INVALID_LEVEL)\n", res, GetLastError());
+#if 0 + /* This test crash with win9x on vmware (works with win9x on qemu 0.8.1) */ SetLastError(MAGIC_DEAD); res = AddMonitorA(NULL, 2, NULL); /* NT: unchanged, 9x: ERROR_PRIVILEGE_NOT_HELD */ @@ -215,6 +217,7 @@ static void test_AddMonitor(void) (GetLastError() == ERROR_PRIVILEGE_NOT_HELD)), "returned %ld with %ld (expected '0' with: MAGIC_DEAD or " \ "ERROR_PRIVILEGE_NOT_HELD)\n", res, GetLastError()); +#endif
ZeroMemory(&mi2a, sizeof(MONITOR_INFO_2A)); SetLastError(MAGIC_DEAD);