Author: hbelusca
Date: Sun Sep 7 00:34:26 2014
New Revision: 64055
URL:
http://svn.reactos.org/svn/reactos?rev=64055&view=rev
Log:
[ROSAUTOTEST]
Initialize hStdInput to the standard input handle, and hStdError to the output pipe,
instead of keeping these handles NULL. See the details why this is important in the Jira
report ROSTESTS-140.
ROSTESTS-140 #resolve #comment Fixed.
Modified:
trunk/rostests/rosautotest/CWineTest.cpp
Modified: trunk/rostests/rosautotest/CWineTest.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/rosautotest/CWineTest.cpp…
==============================================================================
--- trunk/rostests/rosautotest/CWineTest.cpp [iso-8859-1] (original)
+++ trunk/rostests/rosautotest/CWineTest.cpp [iso-8859-1] Sun Sep 7 00:34:26 2014
@@ -342,7 +342,9 @@
m_StartupInfo.cb = sizeof(m_StartupInfo);
m_StartupInfo.dwFlags = STARTF_USESTDHANDLES;
+ m_StartupInfo.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
m_StartupInfo.hStdOutput = m_hWritePipe;
+ m_StartupInfo.hStdError = m_hWritePipe;
/* The virtual test list is of course faster, so it should be preferred over
the journaled one.