[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.

svn path=/trunk/; revision=64055
This commit is contained in:
Hermès Bélusca-Maïto 2014-09-07 00:34:26 +00:00
parent 7ae67c3b7a
commit b84022008b

View file

@ -342,7 +342,9 @@ CWineTest::Run()
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.