瀏覽代碼

Actually, always monotime_init() in the unit tests.

Nick Mathewson 9 年之前
父節點
當前提交
7ef4eef764
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);