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:
-rw-r--r--test/testsyncjournaldb.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/testsyncjournaldb.cpp b/test/testsyncjournaldb.cpp
index fa6021acc..3787eb4c1 100644
--- a/test/testsyncjournaldb.cpp
+++ b/test/testsyncjournaldb.cpp
@@ -17,10 +17,11 @@ class TestSyncJournalDB : public QObject
{
Q_OBJECT
+ QTemporaryDir _tempDir;
public:
- TestSyncJournalDB()
- : _db("/tmp/csync-test.db")
+ TestSyncJournalDB() : _db((_tempDir.path() + "/sync.db"))
{
+ QVERIFY(_tempDir.isValid());
}
QDateTime dropMsecs(QDateTime time)