Przeglądaj źródła

Actually, always monotime_init() in the unit tests.

Nick Mathewson 9 lat temu
rodzic
commit
7ef4eef764
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/test/testing_common.c

+ 2 - 0
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);