summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-31 14:38:17 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-31 14:38:17 -0400
commit7ef4eef7641750c1e62dec69ef2125ece99a87e7 (patch)
treeea9c916c3bdf39a1b6c2c13b3c07b6698da11ce3 /src
parentcfc62e2374ec34eb2892b032dd33f852daaada6d (diff)
downloadtor-7ef4eef7641750c1e62dec69ef2125ece99a87e7.tar.gz
tor-7ef4eef7641750c1e62dec69ef2125ece99a87e7.zip
Actually, always monotime_init() in the unit tests.
Diffstat (limited to 'src')
-rw-r--r--src/test/testing_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/testing_common.c b/src/test/testing_common.c
index e3fe87cb43..6460713f75 100644
--- a/src/test/testing_common.c
+++ b/src/test/testing_common.c
@@ -244,6 +244,8 @@ main(int c, const char **v)
network_init();
+ monotime_init();
+
struct tor_libevent_cfg cfg;
memset(&cfg, 0, sizeof(cfg));
tor_libevent_initialize(&cfg);