forked from qt-creator/qt-creator
testFileTransfer(): Cleanup remote after successful transfer
Change-Id: I770149f69a7ff4c897ad495794b60accddbd67e9 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -297,6 +297,11 @@ void FileSystemAccessTest::testFileTransfer()
|
||||
QVERIFY2(result.m_errorString.isEmpty(), qPrintable(result.m_errorString));
|
||||
QCOMPARE(result.m_exitCode, 0);
|
||||
QCOMPARE(result.m_error, QProcess::UnknownError);
|
||||
|
||||
// Cleanup remote
|
||||
const FilePath remoteDir = m_device->filePath(QString("/tmp/foo/"));
|
||||
QString errorString;
|
||||
QVERIFY2(remoteDir.removeRecursively(&errorString), qPrintable(errorString));
|
||||
}
|
||||
|
||||
} // Internal
|
||||
|
Reference in New Issue
Block a user