Alexandre Julliard : kernel32/tests: Fix the thread test on NT4.

Alexandre Julliard julliard at winehq.org
Mon Nov 10 07:43:58 CST 2008


Module: wine
Branch: master
Commit: 1ff8e7dd411a572eb012f3a17bf0097821a65285
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1ff8e7dd411a572eb012f3a17bf0097821a65285

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Nov 10 11:09:18 2008 +0100

kernel32/tests: Fix the thread test on NT4.

---

 dlls/kernel32/tests/thread.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/tests/thread.c b/dlls/kernel32/tests/thread.c
index 649c49c..75b450c 100644
--- a/dlls/kernel32/tests/thread.c
+++ b/dlls/kernel32/tests/thread.c
@@ -1188,7 +1188,7 @@ static void test_TLS(void)
   }
 
   ret = WaitForMultipleObjects(2, threads, TRUE, 60000);
-  ok(ret == WAIT_OBJECT_0, "WaitForMultipleObjects failed\n");
+  ok(ret == WAIT_OBJECT_0 || ret == WAIT_OBJECT_0+1 /* nt4 */, "WaitForMultipleObjects failed %u\n",ret);
 
   for (i = 0; i < 2; ++i)
     CloseHandle(threads[i]);




More information about the wine-cvs mailing list