From b60f2b0f5b8d2889ef96e81a523515829b33ac2a Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Mon, 22 May 2006 00:39:33 +0200 Subject: [PATCH] winspool/test: Disable a test that crashes on win9x. --- dlls/winspool/tests/info.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/winspool/tests/info.c b/dlls/winspool/tests/info.c index 4483e65c7fc..b0d02a73f9e 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);