kernel32/tests: Fix the ResumeThread on win9x.

This commit is contained in:
Alexandre Julliard 2008-09-11 14:10:35 +02:00
parent 33c5d44d49
commit c9f84aa9f9
1 changed files with 3 additions and 1 deletions

View File

@ -478,7 +478,9 @@ static VOID test_CreateThread_suspended(void)
ok(suspend_count == -1, "SuspendThread returned %d, expected -1\n", suspend_count);
suspend_count = ResumeThread(thread);
ok(suspend_count == 0, "ResumeThread returned %d, expected 0\n", suspend_count);
ok(suspend_count == 0 ||
broken(suspend_count == -1), /* win9x */
"ResumeThread returned %d, expected 0\n", suspend_count);
ok(CloseHandle(thread)!=0,"CloseHandle failed\n");
}