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

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



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

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