[tor-commits] [tor/master] Actually, always monotime_init() in the unit tests.

nickm at torproject.org nickm at torproject.org
Wed Aug 31 18:38:33 UTC 2016


commit 7ef4eef7641750c1e62dec69ef2125ece99a87e7
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Aug 31 14:38:17 2016 -0400

    Actually, always monotime_init() in the unit tests.
---
 src/test/testing_common.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/testing_common.c b/src/test/testing_common.c
index e3fe87c..6460713 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);



More information about the tor-commits mailing list