From 2252393eeb703970c2df16b3693d6b933023cb40 Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Wed, 7 Jun 2017 20:40:42 +0000 Subject: [PATCH] [KERNEL32_WINETEST] Kill process that hangs on an unimplemented feature. svn path=/trunk/; revision=74947 --- rostests/winetests/kernel32/process.c | 7 +++++++ 1 file changed, 7 insertions(+) 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);