mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[KERNEL32_WINETEST] Kill process that hangs on an unimplemented feature.
svn path=/trunk/; revision=74947
This commit is contained in:
parent
c2486683cc
commit
2252393eeb
1 changed files with 7 additions and 0 deletions
|
@ -2707,6 +2707,13 @@ static void test_WaitForJobObject(void)
|
|||
|
||||
if (dwret == WAIT_TIMEOUT) /* Win 2000/XP */
|
||||
{
|
||||
#ifdef __REACTOS__
|
||||
if (!ret)
|
||||
{
|
||||
ok(0, "HACK: Killing process to speed up the test\n");
|
||||
TerminateProcess(pi.hProcess, 0);
|
||||
}
|
||||
#endif
|
||||
CloseHandle(pi.hProcess);
|
||||
CloseHandle(pi.hThread);
|
||||
CloseHandle(job);
|
||||
|
|
Loading…
Reference in a new issue