summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gio/tests/readwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/tests/readwrite.c b/gio/tests/readwrite.c
index 0d561851b..2b1bd5e5a 100644
--- a/gio/tests/readwrite.c
+++ b/gio/tests/readwrite.c
@@ -140,7 +140,7 @@ test_g_file_open_readwrite (void)
original_data, -1, NULL);
g_assert (res);
- path = g_build_filename (g_get_home_dir (), "g-a-nonexisting-file", NULL);
+ path = g_build_filename (g_get_tmp_dir (), "g-a-nonexisting-file", NULL);
file = g_file_new_for_path (path);
g_free (path);
error = NULL;