From 5211d9a8b1cade64d6f9123ada0dd08b38f30735 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Tue, 18 Dec 2018 10:10:19 +0100 Subject: Database: Change path for new dbs to .sync_* #5904 This is to avoid issues on OSX, where the ._ prefix has special meaning. Originally (before 2.3.2) ._ was necessary to guarantee exclusion. But since then the .sync_ prefix is excluded as well. This does not affect existing database files. --- test/syncenginetestutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/syncenginetestutils.h') diff --git a/test/syncenginetestutils.h b/test/syncenginetestutils.h index 44f117b06..52a0de41b 100644 --- a/test/syncenginetestutils.h +++ b/test/syncenginetestutils.h @@ -1134,7 +1134,7 @@ public: _account->setDavDisplayName("fakename"); _account->setServerVersion("10.0.0"); - _journalDb.reset(new OCC::SyncJournalDb(localPath() + "._sync_test.db")); + _journalDb.reset(new OCC::SyncJournalDb(localPath() + ".sync_test.db")); _syncEngine.reset(new OCC::SyncEngine(_account, localPath(), "", _journalDb.get())); // Ignore temporary files from the download. (This is in the default exclude list, but we don't load it) _syncEngine->excludedFiles().addManualExclude("]*.~*"); -- cgit v1.2.3