Commit 786a31e0 authored by Sam Thursfield's avatar Sam Thursfield

Merge branch 'azzaronea/tracker-tmp-dir-tracker-backup-test' into HEAD

See: !52
parents 9e6bccc2 3a164cca
Pipeline #52298 passed with stage
in 2 minutes and 10 seconds
......@@ -267,9 +267,11 @@ main (int argc, char **argv)
setlocale (LC_COLLATE, "en_US.utf8");
current_dir = g_get_current_dir ();
tests_data_dir = g_build_path (G_DIR_SEPARATOR_S, current_dir, "backup-test-data", NULL);
tests_data_dir = g_build_filename (current_dir, "backup-test-data-XXXXXX", NULL);
g_free (current_dir);
g_mkdtemp (tests_data_dir);
g_test_init (&argc, &argv, NULL);
g_test_add ("/libtracker-data/backup/journal_then_save_and_restore", TestInfo, &tests[0], setup, test_backup_and_restore, teardown);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment