forked from qt-creator/qt-creator
Debugger: Compile manual test with Qt 6
Task-number: 24098 Change-Id: I9fdaf913a0ed2017460ba8d4f63c94a1d62b0062 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -4176,7 +4176,7 @@ namespace qprocess {
|
|||||||
const int N = 14;
|
const int N = 14;
|
||||||
QProcess proc[N];
|
QProcess proc[N];
|
||||||
for (int i = 0; i != N; ++i) {
|
for (int i = 0; i != N; ++i) {
|
||||||
proc[i].start("sleep 10");
|
proc[i].start("sleep", {"10"});
|
||||||
proc[i].waitForStarted();
|
proc[i].waitForStarted();
|
||||||
}
|
}
|
||||||
BREAK_HERE;
|
BREAK_HERE;
|
||||||
@@ -5557,7 +5557,7 @@ namespace basic {
|
|||||||
void testFork()
|
void testFork()
|
||||||
{
|
{
|
||||||
QProcess proc;
|
QProcess proc;
|
||||||
proc.start("/bin/ls");
|
proc.start("/bin/ls", QStringList());
|
||||||
proc.waitForFinished();
|
proc.waitForFinished();
|
||||||
QByteArray ba = proc.readAllStandardError();
|
QByteArray ba = proc.readAllStandardError();
|
||||||
ba.append('x');
|
ba.append('x');
|
||||||
|
Reference in New Issue
Block a user