kernel32/tests: Fix the ResumeThread on win9x.
This commit is contained in:
parent
33c5d44d49
commit
c9f84aa9f9
|
@ -478,7 +478,9 @@ static VOID test_CreateThread_suspended(void)
|
||||||
ok(suspend_count == -1, "SuspendThread returned %d, expected -1\n", suspend_count);
|
ok(suspend_count == -1, "SuspendThread returned %d, expected -1\n", suspend_count);
|
||||||
|
|
||||||
suspend_count = ResumeThread(thread);
|
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");
|
ok(CloseHandle(thread)!=0,"CloseHandle failed\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue