winspool/test: Disable a test that crashes on win9x.

This commit is contained in:
Detlef Riekenberg 2006-05-22 00:39:33 +02:00 committed by Alexandre Julliard
parent 358ce06741
commit b60f2b0f5b
1 changed files with 3 additions and 0 deletions

View File

@ -207,6 +207,8 @@ static void test_AddMonitor(void)
"returned %ld with %ld (expected '0' with ERROR_INVALID_LEVEL)\n", "returned %ld with %ld (expected '0' with ERROR_INVALID_LEVEL)\n",
res, GetLastError()); res, GetLastError());
#if 0
/* This test crash with win9x on vmware (works with win9x on qemu 0.8.1) */
SetLastError(MAGIC_DEAD); SetLastError(MAGIC_DEAD);
res = AddMonitorA(NULL, 2, NULL); res = AddMonitorA(NULL, 2, NULL);
/* NT: unchanged, 9x: ERROR_PRIVILEGE_NOT_HELD */ /* NT: unchanged, 9x: ERROR_PRIVILEGE_NOT_HELD */
@ -215,6 +217,7 @@ static void test_AddMonitor(void)
(GetLastError() == ERROR_PRIVILEGE_NOT_HELD)), (GetLastError() == ERROR_PRIVILEGE_NOT_HELD)),
"returned %ld with %ld (expected '0' with: MAGIC_DEAD or " \ "returned %ld with %ld (expected '0' with: MAGIC_DEAD or " \
"ERROR_PRIVILEGE_NOT_HELD)\n", res, GetLastError()); "ERROR_PRIVILEGE_NOT_HELD)\n", res, GetLastError());
#endif
ZeroMemory(&mi2a, sizeof(MONITOR_INFO_2A)); ZeroMemory(&mi2a, sizeof(MONITOR_INFO_2A));
SetLastError(MAGIC_DEAD); SetLastError(MAGIC_DEAD);