[tracker-miners/wip/carlosg/monitor-thread] tests: Use another temporary folder for enumerator test
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/monitor-thread] tests: Use another temporary folder for enumerator test
- Date: Tue, 9 Mar 2021 00:10:35 +0000 (UTC)
commit ec3412b88018da2ba136fb9c608b061615e77e5b
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Mar 9 01:06:44 2021 +0100
tests: Use another temporary folder for enumerator test
CI on Rawhide seems to be failing as /tmp is sparkling clean. As
we're just checking that it lists contents, use /proc/self as a
good enough folder that we don't need to care creating/deleting.
tests/libtracker-miner/tracker-file-enumerator-test.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/tests/libtracker-miner/tracker-file-enumerator-test.c
b/tests/libtracker-miner/tracker-file-enumerator-test.c
index 9381d59ac..14fff83b5 100644
--- a/tests/libtracker-miner/tracker-file-enumerator-test.c
+++ b/tests/libtracker-miner/tracker-file-enumerator-test.c
@@ -38,8 +38,7 @@ test_enumerator_and_provider (void)
data_provider = tracker_file_data_provider_new ();
g_assert_nonnull (data_provider);
- /* FIXME: Use better tmp data structure */
- url = g_file_new_for_path (g_get_tmp_dir ());
+ url = g_file_new_for_path ("/proc/self");
g_assert_nonnull (url);
/* fe = g_file_enumerate_children ( */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]