[KERNEL32_WINETEST] Kill process that hangs on an unimplemented feature.

svn path=/trunk/; revision=74947
This commit is contained in:
Mark Jansen 2017-06-07 20:40:42 +00:00
parent c2486683cc
commit 2252393eeb

View file

@ -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);