[tracker/tracker-1.4] distcheck fixes



commit 0ab4453cf9fe8ecb2ea4ea8efed7e6da09a6885a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jul 13 23:06:29 2015 +0200

    distcheck fixes

 tests/libtracker-miner/tracker-monitor-test.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-miner/tracker-monitor-test.c b/tests/libtracker-miner/tracker-monitor-test.c
index a431099..3ba9412 100644
--- a/tests/libtracker-miner/tracker-monitor-test.c
+++ b/tests/libtracker-miner/tracker-monitor-test.c
@@ -1289,6 +1289,7 @@ test_monitor_directory_event_deleted (TrackerMonitorTestFixture *fixture,
 
        /* Cleanup environment */
        tracker_monitor_set_enabled (fixture->monitor, FALSE);
+       g_assert_cmpint (tracker_monitor_remove (fixture->monitor, source_dir), ==, TRUE);
        g_object_unref (source_dir);
        g_free (source_path);
 }
@@ -1713,6 +1714,7 @@ test_monitor_directory_event_moved_to_not_monitored (TrackerMonitorTestFixture *
 
        /* Cleanup environment */
        tracker_monitor_set_enabled (fixture->monitor, FALSE);
+       g_assert_cmpint (tracker_monitor_remove (fixture->monitor, source_dir), ==, TRUE);
        /* Note that monitor is NOT in dest_dir, so FAIL if we could remove it */
        g_assert_cmpint (tracker_monitor_remove (fixture->monitor, dest_dir), !=, TRUE);
        g_assert_cmpint (g_file_delete (dest_dir, NULL, NULL), ==, TRUE);


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