[tor-commits] [tor/master] Let's try to get test_workqueue working on windows

nickm at torproject.org nickm at torproject.org
Wed Aug 5 14:35:01 UTC 2015


commit 1d63ecbed0c8416eeed9d1f278422dc1edbea8ad
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Aug 5 10:34:46 2015 -0400

    Let's try to get test_workqueue working on windows
---
 changes/test-workqueue-windows |    3 +++
 src/test/test_workqueue.c      |    1 +
 2 files changed, 4 insertions(+)

diff --git a/changes/test-workqueue-windows b/changes/test-workqueue-windows
new file mode 100644
index 0000000..8d7b7f6
--- /dev/null
+++ b/changes/test-workqueue-windows
@@ -0,0 +1,3 @@
+  o Testing:
+    - Make the test-workqueue test work on windows by initializing the
+      network before we begin.
diff --git a/src/test/test_workqueue.c b/src/test/test_workqueue.c
index a1a9488..7f20642 100644
--- a/src/test/test_workqueue.c
+++ b/src/test/test_workqueue.c
@@ -369,6 +369,7 @@ main(int argc, char **argv)
   }
 
   init_logging(1);
+  network_init();
   crypto_global_init(1, NULL, NULL);
   crypto_seed_rng();
 



More information about the tor-commits mailing list