[tracker] libtracker-data: Restore using the right set of ontologies	in test
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [tracker] libtracker-data: Restore using the right set of ontologies	in test
- Date: Mon, 25 Oct 2010 12:54:08 +0000 (UTC)
commit f55dd2794037f15b7cd0c022be705eb528b81890
Author: Jürg Billeter <j bitron ch>
Date:   Wed Oct 13 14:29:52 2010 +0200
    libtracker-data: Restore using the right set of ontologies in test
 tests/libtracker-data/tracker-backup-test.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/libtracker-data/tracker-backup-test.c b/tests/libtracker-data/tracker-backup-test.c
index 226523b..c1efba0 100644
--- a/tests/libtracker-data/tracker-backup-test.c
+++ b/tests/libtracker-data/tracker-backup-test.c
@@ -168,12 +168,13 @@ test_backup_and_restore_helper (gboolean journal)
 	                           NULL, FALSE, 100, 100, NULL, NULL, NULL);
 	check_content_in_db (0, 0);
 
-	test_schemas[0] = data_prefix;
 	tracker_data_backup_restore (backup_file, backup_finished_cb, NULL, NULL, (const gchar **) test_schemas, NULL, NULL);
 	check_content_in_db (3, 1);
 
 	g_free (test_schemas[0]);
 	g_free (test_schemas[1]);
+	g_free (test_schemas[2]);
+	g_free (test_schemas[3]);
 
 	g_assert_cmpint (backup_calls, ==, 2);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]