Skip to content
Snippets Groups Projects
Commit 29b7397e authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Fix test_config_write_to_data_subdir

Bugfix on aa0eb202; bugfix not on any
released Tor.
parent df03e9b7
Branches
No related tags found
No related merge requests found
......@@ -277,11 +277,12 @@ test_config_write_to_data_subdir(void *arg)
"accusam et justo duo dolores et\n"
"ea rebum. Stet clita kasd gubergren, no sea takimata\n"
"sanctus est Lorem ipsum dolor sit amet.";
char* filepath = get_datadir_fname2(subdir, fname);
char* filepath = NULL;
(void)arg;
tor_free(options->DataDirectory);
datadir = options->DataDirectory = tor_strdup(get_fname("datadir-1"));
filepath = get_datadir_fname2(subdir, fname);
#if defined (_WIN32) && !defined (WINCE)
tt_int_op(mkdir(options->DataDirectory), ==, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment