qt5base-lts/tests/auto/corelib/io/qprocess
Alex Trotsenko 1ceee31ae0 Fix tst_QProcess::closeWriteChannel() under Windows
Sometimes, this test fails in CI due to notifications arriving
asynchronously from the OS. This happens inside closeWriteChannel()
call, where we are flushing the write buffer and I/O completion on
the read pipe could occur there as well. So, take this into account
before waiting for the new incoming data. Also, improve the checks
on successful reading and writing.

Change-Id: Iabe875fc346eb4420c72d03208d22ea861a570c6
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2016-08-05 10:16:54 +00:00
..
fileWriterProcess tst_qprocess: Improve handling of helpers. 2015-09-30 04:29:56 +00:00
test Use forkfd in QProcess 2015-01-23 19:13:17 +01:00
testBatFiles
testDetached tst_qprocess: Improve handling of helpers. 2015-09-30 04:29:56 +00:00
testExitCodes tst_qprocess: Improve handling of helpers. 2015-09-30 04:29:56 +00:00
testForwarding Update copyright headers 2015-02-11 06:49:51 +00:00
testGuiProcess Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessCrash Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessDeadWhileReading Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEcho Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEcho2 Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEcho3 Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEchoGui Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEnvironment Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEOF Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessHang QProcess: Ensure that the stdin buffer is cleared on start() 2015-08-15 21:59:26 +00:00
testProcessNormal Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessOutput Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessSpacesArgs Update copyright headers 2015-02-11 06:49:51 +00:00
testSetNamedPipeHandleState Update copyright headers 2015-02-11 06:49:51 +00:00
testSetWorkingDirectory Update copyright headers 2015-02-11 06:49:51 +00:00
testSoftExit fix usage of wince scope 2015-06-05 10:29:10 +00:00
testSpaceInName Update copyright headers 2015-02-11 06:49:51 +00:00
.gitignore test: Moving tst_QProcess::echoTest_performance() 2012-10-19 02:43:05 +02:00
BLACKLIST MSVC2015: Blacklist tests reading from stdin in buffered/text mode. 2015-09-30 07:54:58 +00:00
qprocess.pri QProcess: Ensure that the stdin buffer is cleared on start() 2015-08-15 21:59:26 +00:00
qprocess.pro QProcess/Win: allow child processes to change modes of the stdin pipe 2013-12-10 18:36:25 +01:00
tst_qprocess.cpp Fix tst_QProcess::closeWriteChannel() under Windows 2016-08-05 10:16:54 +00:00