[tracker/journal: 16/18] libtracker-data: Restore using the right set of ontologies in test



commit 0a80d96a5acaa5fd6ae8a5b283918c01a2913587
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]