0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-18 21:49:37 +00:00
Files
termux-packages/packages/tinysparql/0002-fix-tmp-paths.patch
2025-09-02 04:43:02 -05:00

16 lines
884 B
Diff

diff --git a/tests/common/tracker-file-utils-test.c b/tests/common/tracker-file-utils-test.c
index b200820..a038a8b 100644
--- a/tests/common/tracker-file-utils-test.c
+++ b/tests/common/tracker-file-utils-test.c
@@ -71,8 +71,8 @@ static void
test_file_system_has_enough_space ()
{
/* Hopefully we will always have 1 byte free... */
- g_assert_true (tracker_file_system_has_enough_space ("/tmp", 1, FALSE));
- g_assert_true (tracker_file_system_has_enough_space ("/tmp", 1, TRUE));
+ g_assert_true (tracker_file_system_has_enough_space ("@TERMUX_PREFIX@/tmp", 1, FALSE));
+ g_assert_true (tracker_file_system_has_enough_space ("@TERMUX_PREFIX@/tmp", 1, TRUE));
/* gulong goes only up to 4Gb. Cannot ask for unreasonable amount of space */
//g_assert_true (!tracker_file_system_has_enough_space ("/home", G_MAXULONG, FALSE));