summaryrefslogtreecommitdiff
path: root/src/test/test_options.c
diff options
context:
space:
mode:
authorOla Bini <ola@olabini.se>2016-01-12 15:39:49 -0500
committerOla Bini <ola@olabini.se>2016-01-13 10:35:06 -0500
commit5c1c117b8ecae53ded15773ffa78da26757b7fe3 (patch)
tree5f4324d8e4827a82a82cc16b81b0b963f9e06b92 /src/test/test_options.c
parent0bfa616e2e0ea7425801142e7faf7bca020f4361 (diff)
downloadtor-5c1c117b8ecae53ded15773ffa78da26757b7fe3.tar.gz
tor-5c1c117b8ecae53ded15773ffa78da26757b7fe3.zip
Revert my addition of callback cleaner and instead use existing functionality for temporary log files
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r--src/test/test_options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c
index 76e9bdac94..693b3dacb7 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -50,6 +50,7 @@ setup_log_callback(void)
lst.masks[LOG_WARN - LOG_ERR] = ~0;
lst.masks[LOG_NOTICE - LOG_ERR] = ~0;
add_callback_log(&lst, log_cback);
+ mark_logs_temp();
}
static char *
@@ -200,7 +201,7 @@ test_options_validate(void *arg)
"We're a bridge but DirCache is disabled.");
clear_log_messages();
- remove_log_callback();
+ close_temp_logs();
return;
}