Author: mjansen
Date: Wed Jun 7 20:40:42 2017
New Revision: 74947
URL:
http://svn.reactos.org/svn/reactos?rev=74947&view=rev
Log:
[KERNEL32_WINETEST] Kill process that hangs on an unimplemented feature.
Modified:
trunk/rostests/winetests/kernel32/process.c
Modified: trunk/rostests/winetests/kernel32/process.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/kernel32/proces…
==============================================================================
--- trunk/rostests/winetests/kernel32/process.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/kernel32/process.c [iso-8859-1] Wed Jun 7 20:40:42 2017
@@ -2707,6 +2707,13 @@
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);