Comment out an unreliable test.

This commit is contained in:
Alexandre Julliard 2004-09-09 20:16:23 +00:00
parent 83755cca97
commit 0e3df810de

View File

@ -538,7 +538,9 @@ static void testCtrlHandler(void)
mch_event = CreateEventA(NULL, TRUE, FALSE, NULL);
mch_count = 0;
ok(GenerateConsoleCtrlEvent(CTRL_C_EVENT, 0), "Couldn't send ctrl-c event\n");
#if 0 /* FIXME: it isn't synchronous on wine but it can still happen before we test */
todo_wine ok(mch_count == 1, "Event isn't synchronous\n");
#endif
ok(WaitForSingleObject(mch_event, 3000) == WAIT_OBJECT_0, "event sending didn't work\n");
CloseHandle(mch_event);
ok(SetConsoleCtrlHandler(NULL, TRUE), "Couldn't turn off ctrl-c handling\n");