diff options
-rw-r--r-- | src/test/testing_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/testing_common.c b/src/test/testing_common.c index e14a169407..c5a4e81fbe 100644 --- a/src/test/testing_common.c +++ b/src/test/testing_common.c @@ -326,6 +326,7 @@ main(int c, const char **v) initialize_mainloop_events(); options_init(options); options->DataDirectory = tor_strdup(temp_dir); + options->DataDirectory_option = tor_strdup(temp_dir); tor_asprintf(&options->KeyDirectory, "%s"PATH_SEPARATOR"keys", options->DataDirectory); options->CacheDirectory = tor_strdup(temp_dir); |