summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/bench.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/bench.c b/src/test/bench.c
index f30b609900..24ff8b255c 100644
--- a/src/test/bench.c
+++ b/src/test/bench.c
@@ -718,6 +718,8 @@ main(int argc, const char **argv)
init_logging(1);
options->command = CMD_RUN_UNITTESTS;
options->DataDirectory = tor_strdup("");
+ options->KeyDirectory = tor_strdup("");
+ options->CacheDirectory = tor_strdup("");
options_init(options);
if (set_options(options, &errmsg) < 0) {
printf("Failed to set initial options: %s\n", errmsg);