[tracker/rss-enclosures] libtracker-data: Update backup test to also delete ontology journal



commit 2f5d9cc2f34827e273a4fa61401e85dcf47fe396
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]