[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 7ef4eef7641750c1e62dec69ef2125ece99a87e7
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits