Alexandre Julliard : ole32/tests: Don't hang forever in the child process.
Alexandre Julliard
julliard at winehq.org
Tue Feb 17 08:49:14 CST 2009
Module: wine
Branch: master
Commit: b55f6dfed5fb0e0ce085ffa9da18f03fb4d5b513
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b55f6dfed5fb0e0ce085ffa9da18f03fb4d5b513
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Feb 17 14:58:11 2009 +0100
ole32/tests: Don't hang forever in the child process.
---
dlls/ole32/tests/marshal.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/tests/marshal.c b/dlls/ole32/tests/marshal.c
index 8f6a7cc..4082488 100644
--- a/dlls/ole32/tests/marshal.c
+++ b/dlls/ole32/tests/marshal.c
@@ -2588,7 +2588,7 @@ static void test_register_local_server(void)
do
{
- wait = MsgWaitForMultipleObjects(1, &quit_event, FALSE, INFINITE, QS_ALLINPUT);
+ wait = MsgWaitForMultipleObjects(1, &quit_event, FALSE, 30000, QS_ALLINPUT);
if (wait == WAIT_OBJECT_0+1)
{
MSG msg;
@@ -2603,6 +2603,7 @@ static void test_register_local_server(void)
}
while (wait == WAIT_OBJECT_0+1);
+ ok( wait == WAIT_OBJECT_0, "quit event wait timed out\n" );
hr = CoRevokeClassObject(cookie);
ok_ole_success(hr, CoRevokeClassObject);
}
More information about the wine-cvs
mailing list