Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-06-21 15:57:36 +0300
committerHannah von Reth <vonreth@kde.org>2022-06-30 14:29:47 +0300
commit39e0b82df6d67eb669c003d267f9b7ef897b846c (patch)
treef20cfdf001e5cf953ae7cdd6799200055f59304e /test
parent2dd730d466dc1b2a2a244cacb066a2db2cbb65f4 (diff)
Don't recreate db after it was closed
Diffstat (limited to 'test')
-rw-r--r--test/testpermissions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testpermissions.cpp b/test/testpermissions.cpp
index e0cafd0a3..8e611d013 100644
--- a/test/testpermissions.cpp
+++ b/test/testpermissions.cpp
@@ -39,6 +39,7 @@ static void assertCsyncJournalOk(SyncJournalDb &journal)
#if defined(Q_OS_WIN) // Make sure the file does not appear in the FileInfo
FileSystem::setFileHidden(journal.databaseFilePath() + "-shm", true);
#endif
+ journal.allowReopen();
}
SyncFileItemPtr findDiscoveryItem(const SyncFileItemSet &spy, const QString &path)