[tracker] libtracker-data: Update backup test to also delete ontology journal
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Update backup test to also delete ontology journal
- Date: Mon, 25 Oct 2010 12:53:58 +0000 (UTC)
commit 15f062da95bd5f1963c7221a3ba5202fa3817417
Author: Jürg Billeter <j bitron ch>
Date: Wed Oct 13 13:07:15 2010 +0200
libtracker-data: Update backup test to also delete ontology journal
tests/libtracker-data/tracker-backup-test.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-data/tracker-backup-test.c b/tests/libtracker-data/tracker-backup-test.c
index 720aab7..226523b 100644
--- a/tests/libtracker-data/tracker-backup-test.c
+++ b/tests/libtracker-data/tracker-backup-test.c
@@ -151,6 +151,10 @@ test_backup_and_restore_helper (gboolean journal)
meta_db = g_build_path (G_DIR_SEPARATOR_S, db_location, "data", "tracker-store.journal", NULL);
g_unlink (meta_db);
g_free (meta_db);
+
+ meta_db = g_build_path (G_DIR_SEPARATOR_S, db_location, "data", "tracker-store.ontology.journal", NULL);
+ g_unlink (meta_db);
+ g_free (meta_db);
}
meta_db = g_build_path (G_DIR_SEPARATOR_S, db_location, "data", ".meta.isrunning", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]