Merge remote-tracking branch 'origin/9.0' into qds/dev

Change-Id: I4305c3b37814cc3a926e8e56cabe5f8935f8f2c0
This commit is contained in:
Tim Jenssen
2022-12-14 11:30:05 +01:00
23 changed files with 259 additions and 147 deletions

View File

@@ -490,8 +490,10 @@ bool SshProcessInterface::runInShell(const CommandLine &command, const QByteArra
process.setCommand(cmd);
process.setWriteData(data);
process.start();
QTC_CHECK(process.waitForFinished()); // otherwise we may start producing killers for killers
return process.exitCode() == 0;
bool isFinished = process.waitForFinished(2000); // TODO: it may freeze on some devices
// otherwise we may start producing killers for killers
QTC_CHECK(isFinished);
return isFinished;
}
void SshProcessInterface::start()