From: Mark Jansen Date: Wed, 7 Jun 2017 20:40:42 +0000 (+0000) Subject: [KERNEL32_WINETEST] Kill process that hangs on an unimplemented feature. X-Git-Tag: ReactOS-0.4.6~387 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=2252393eeb703970c2df16b3693d6b933023cb40 [KERNEL32_WINETEST] Kill process that hangs on an unimplemented feature. svn path=/trunk/; revision=74947 --- diff --git a/rostests/winetests/kernel32/process.c b/rostests/winetests/kernel32/process.c index e4553a35709..63536465df4 100755 --- a/rostests/winetests/kernel32/process.c +++ b/rostests/winetests/kernel32/process.c @@ -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);