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
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2018-12-18 12:10:19 +0300
committerckamm <mail@ckamm.de>2018-12-19 12:14:25 +0300
commit5211d9a8b1cade64d6f9123ada0dd08b38f30735 (patch)
treee642aa1ed03119227ef1380618d1cb5555b0e8f7 /test/syncenginetestutils.h
parente97d42933efb102cfbf7d14f0495a333e028dfa8 (diff)
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.
Diffstat (limited to 'test/syncenginetestutils.h')
-rw-r--r--test/syncenginetestutils.h2
1 files changed, 1 insertions, 1 deletions
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("]*.~*");