Commit 0e3df810 authored by Alexandre Julliard's avatar Alexandre Julliard

Comment out an unreliable test.

parent 83755cca
...@@ -538,7 +538,9 @@ static void testCtrlHandler(void) ...@@ -538,7 +538,9 @@ static void testCtrlHandler(void)
mch_event = CreateEventA(NULL, TRUE, FALSE, NULL); mch_event = CreateEventA(NULL, TRUE, FALSE, NULL);
mch_count = 0; mch_count = 0;
ok(GenerateConsoleCtrlEvent(CTRL_C_EVENT, 0), "Couldn't send ctrl-c event\n"); 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"); 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"); ok(WaitForSingleObject(mch_event, 3000) == WAIT_OBJECT_0, "event sending didn't work\n");
CloseHandle(mch_event); CloseHandle(mch_event);
ok(SetConsoleCtrlHandler(NULL, TRUE), "Couldn't turn off ctrl-c handling\n"); ok(SetConsoleCtrlHandler(NULL, TRUE), "Couldn't turn off ctrl-c handling\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment