>From 163e560696f8f2d9340fdbafb38fc12363099128 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Florian=20K=C3=B6berle?= <florian@fkoeberle.de>
Date: Fri, 30 Jan 2009 11:41:31 +0100
Subject: Make sure that the test thread doesn't run while other tests are running.

---
 dlls/user32/tests/menu.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/user32/tests/menu.c b/dlls/user32/tests/menu.c
index 6ee28a3..d019b92 100644
--- a/dlls/user32/tests/menu.c
+++ b/dlls/user32/tests/menu.c
@@ -1892,6 +1892,8 @@ static void test_menu_input(void) {
             break;
         while (PeekMessage(&msg, 0, 0, 0, PM_REMOVE)) DispatchMessageA(&msg);
     }
+    // Make sure that the thread doesn't run while other tests are running
+    ok (WAIT_OBJECT_0 == WaitForSingleObject(hThread, 10000), "Test thread did not terminate within 10 seconds.");
     DestroyWindow(hWnd);
 }
 
-- 
1.5.4.3

