qt6-bb10/tests/auto/corelib/io/qprocess
Thiago Macieira 79e1389fb9 QProcess: align treatment of early start errors
There are a couple of possible runtime errors that could happen before
the state was changed to QProcess::Starting. This aligns the Unix code
with Windows, which has the state transition at the top, and with the
documentation which says we will enter QProcess::Starting state.

Complements commit 956b249528, repeating
what it did for Unix (removing the overwriting of the error message that
openChannel() sets) on Windows. We also need to ensure cleanup() is
always called.

Pick-to: 6.6 6.7
Change-Id: I76ffba14ece04f24b43efffd17aafdd47f908bf1
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
2024-01-22 21:44:21 -08:00
..
fileWriterProcess tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
test QProcess: add testUnixProcessParameters as a dep. for tst_qprocess 2023-06-18 20:32:30 +03:00
testBatFiles
testDetached tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
testExitCodes tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testForwarding QThread: add sleep(std::chrono::nanoseconds) overload 2023-03-13 23:26:28 +02:00
testForwardingHelper tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testGuiProcess tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
testProcessCrash Fix some -Wunused-* warnings on MinGW 2024-01-10 09:45:48 +01:00
testProcessDeadWhileReading tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testProcessEOF tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testProcessEcho tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testProcessEcho2 tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testProcessEcho3 tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testProcessEchoGui tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testProcessEnvironment tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testProcessHang tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testProcessNormal tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testProcessOutput tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testProcessSpacesArgs tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testSetNamedPipeHandleState tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testSetWorkingDirectory tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
testSoftExit tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testSpaceInName tst_QProcess: don't link non-Qt helpers to QtCore 2023-04-25 18:53:30 -07:00
testUnixProcessParameters QProcess/Unix: add a simple way to reset the UID and GID for the child 2023-07-08 15:03:23 -07:00
.gitignore
CMakeLists.txt CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
crasher.h tst_QProcess: move the crasher code to a header 2023-06-07 17:09:52 -07:00
tst_qprocess.cpp QProcess: align treatment of early start errors 2024-01-22 21:44:21 -08:00