[tracker] tests/libtracker-data: Make distcheck succeed by removing generated file after unit test ran



commit cdc95ab922ca4177ebcaa9fa38c8338f2a03201e
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Mar 25 17:24:18 2010 +0100

    tests/libtracker-data: Make distcheck succeed by removing generated file after unit test ran

 tests/libtracker-data/tracker-ontology-test.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-data/tracker-ontology-test.c b/tests/libtracker-data/tracker-ontology-test.c
index 0d54eec..1be4ffa 100644
--- a/tests/libtracker-data/tracker-ontology-test.c
+++ b/tests/libtracker-data/tracker-ontology-test.c
@@ -310,6 +310,8 @@ test_ontology_change (void)
 
 	tracker_data_manager_shutdown ();
 
+	g_file_delete (file2, NULL, NULL);
+
 	g_object_unref (file2);
 	g_free (test_schemas[0]);
 	g_free (test_schemas[1]);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]