diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-02-18 12:36:47 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-08-15 21:59:26 +0000 |
commit | 1ff66a79626d40a8379a639a0fae3696fc7a06c0 (patch) | |
tree | 9bc4ab5bc2b17a1037fed4e3ed6fedf5e1e7b032 /tests/auto/corelib/io/qprocess/testProcessHang/testProcessHang.pro | |
parent | 40a4105faef14268410b3ab4ae432f386c74d0e2 (diff) |
QProcess: Ensure that the stdin buffer is cleared on start()
The buffer may have been left dirty if we were unable to write all the
data to the child process in the previous run. So ensure we clear it
before starting a new one. We already did that for stdout and stderr,
for some reason.
Task-number: QTBUG-44517
Change-Id: I1a800c709d3543699131ffff13c419da3bbffacf
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/io/qprocess/testProcessHang/testProcessHang.pro')
-rw-r--r-- | tests/auto/corelib/io/qprocess/testProcessHang/testProcessHang.pro | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qprocess/testProcessHang/testProcessHang.pro b/tests/auto/corelib/io/qprocess/testProcessHang/testProcessHang.pro new file mode 100644 index 0000000000..e236e05c7d --- /dev/null +++ b/tests/auto/corelib/io/qprocess/testProcessHang/testProcessHang.pro @@ -0,0 +1,4 @@ +SOURCES = main.cpp +CONFIG -= qt app_bundle +CONFIG += console +DESTDIR = ./ |