diff options
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/test-qga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test-qga.c b/tests/unit/test-qga.c index b6ea7c7..b4e0a14 100644 --- a/tests/unit/test-qga.c +++ b/tests/unit/test-qga.c @@ -60,7 +60,7 @@ fixture_setup(TestFixture *fixture, gconstpointer data, gchar **envp) fixture->loop = g_main_loop_new(NULL, FALSE); - fixture->test_dir = g_strdup("/tmp/qgatest.XXXXXX"); + fixture->test_dir = g_strdup_printf("%s/qgatest.XXXXXX", g_get_tmp_dir()); g_assert_nonnull(g_mkdtemp(fixture->test_dir)); path = g_build_filename(fixture->test_dir, "sock", NULL); |