mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
Fix test_config_write_to_data_subdir
Bugfix on aa0eb2022342798fc78b2bde89d393f37c59fe78; bugfix not on any released Tor.
This commit is contained in:
parent
df03e9b737
commit
29b7397ebe
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue