[tracker] libtracker-fts: Fixed distcheck with dconf files not cleaned up



commit a657cceeb09ee6f6ee0528a4425f72600f5f9290
Author: Martyn Russell <martyn lanedo com>
Date:   Mon Apr 4 14:08:50 2011 +0100

    libtracker-fts: Fixed distcheck with dconf files not cleaned up
    
    dconf/user is the filename

 tests/libtracker-fts/tracker-fts-test.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-fts/tracker-fts-test.c b/tests/libtracker-fts/tracker-fts-test.c
index a54e45a..e04d1ec 100644
--- a/tests/libtracker-fts/tracker-fts-test.c
+++ b/tests/libtracker-fts/tracker-fts-test.c
@@ -22,6 +22,7 @@
 #include <string.h>
 
 #include <glib.h>
+#include <glib/gstdio.h>
 #include <gio/gio.h>
 
 #include <libtracker-common/tracker-ontologies.h>
@@ -177,6 +178,7 @@ main (int argc, char **argv)
 	gint result;
 	gint i;
 	gchar *current_dir;
+	gchar *path;
 
 	g_type_init ();
 
@@ -212,5 +214,9 @@ main (int argc, char **argv)
 	g_print ("Removing temporary data\n");
 	g_spawn_command_line_sync ("rm -R tracker/", NULL, NULL, NULL, NULL);
 
+	path = g_build_filename (TOP_BUILDDIR, "tests", "libtracker-fts", "dconf", "user", NULL);
+	g_unlink (path);
+	g_free (path);
+
 	return result;
 }



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