qt5base-lts/tests/auto/corelib/io
Thiago Macieira a3f2ddc230 tst_QProcess::startStopStartStopBuffers: depend less on OS configuration
The comment in this function made it clear that it really depended on
the size of the pipe buffer in the OS. I don't see a way to make a pipe
default to a different size on Linux -- it always defaults to
PIPE_DEF_BUFFERS (16) and that value is only increased as a result of
fcntl(F_SETPIPE_SZ), which we don't do. But we can be defensive and
simply write until the OS can't take any more data.

Drive-by update the comment on Windows to be clear that bytesToWrite()
does work, but only while the child process is still running.

Pick-to: 6.6
Task-number: QTBUG-80953
Change-Id: I9d43e5b91eb142d6945cfffd17866d22a4127e5e
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2023-10-18 12:40:54 -07:00
..
largefile CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qabstractfileengine tst_QAbstractFileEngine: compile with QT_NO_FOREACH 2023-08-19 16:28:33 +03:00
qbuffer CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qdataurl CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qdebug cmake: Enable Objective-C++ language for standalone test projects 2023-08-01 20:42:30 +02:00
qdir tst_QDir: compile with QT_NO_FOREACH 2023-08-19 16:28:53 +03:00
qdiriterator tst_QDirIterator: build with QT_NO_FOREACH 2023-08-19 16:29:03 +03:00
qfile moveToTrash/Unix: refactor to use openat()/mkdirat()/renameat() 2023-10-17 19:08:25 -07:00
qfileinfo tst_QFileInfo: don't trigger libstdc++ std::filesystem bug 2023-09-01 13:05:45 -07:00
qfileselector tests/auto/*: port Q_FOREACH to ranged-for 2023-08-19 16:29:09 +03:00
qfilesystementry CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qfilesystemmetadata CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qfilesystemwatcher tests/auto/: port Q_FOREACH to ranged-for, local const containers 2023-08-19 16:29:25 +03:00
qiodevice CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qipaddress CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qlockfile Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
qloggingcategory CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qloggingregistry CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qnodebug CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qprocess tst_QProcess::startStopStartStopBuffers: depend less on OS configuration 2023-10-18 12:40:54 -07:00
qprocess-noapplication CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qprocessenvironment CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qresourceengine CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qsavefile Fix undeclared identifier 'geteuid' for VxWorks 2023-09-12 02:07:04 +00:00
qsettings Make WASM IDB settings use the fallback mechanism correctly 2023-10-18 19:01:45 +02:00
qstandardpaths Add StateLocation & GenericStateLocation to StandardLocation 2023-09-07 01:17:13 +03:00
qstorageinfo tst_QStorageInfo::{tempFile,caching}: change APFS from XFAIL to SKIP 2023-10-18 10:01:45 -07:00
qtemporarydir tst_QTemporaryDir/File: compile with QT_NO_FOREACH 2023-08-19 16:29:47 +03:00
qtemporaryfile QTemporaryFile: Add support for std::filesystem::path 2023-10-09 16:25:57 +02:00
qurl CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qurlinternal CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qurlquery CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qurluts46 CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qzip CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt Move QZipReader/Writer from QtGui to QtCore 2023-04-26 12:01:05 +02:00