[tor-commits] [tor/master] Make the control/events test run TT_FORK

nickm at torproject.org nickm at torproject.org
Tue Aug 18 13:10:55 UTC 2015


commit e507f9bf4280d1462876c6a5bfeaf549b19306f4
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Aug 12 09:34:26 2015 -0400

    Make the control/events test run TT_FORK
    
    Some of them like to munge the global event mask, so it's important
    to have that behavior isolated.
---
 src/test/test_controller_events.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/test/test_controller_events.c b/src/test/test_controller_events.c
index bd91aec..7b439d4 100644
--- a/src/test/test_controller_events.c
+++ b/src/test/test_controller_events.c
@@ -395,12 +395,12 @@ test_cntev_event_mask(void *arg)
   { #name, test_cntev_ ## name, flags, 0, NULL }
 
 struct testcase_t controller_event_tests[] = {
-  TEST(bucket_note_empty, 0),
-  TEST(bucket_millis_empty, 0),
-  TEST(sum_up_cell_stats, 0),
-  TEST(append_cell_stats, 0),
-  TEST(format_cell_stats, 0),
-  TEST(event_mask, 0),
+  TEST(bucket_note_empty, TT_FORK),
+  TEST(bucket_millis_empty, TT_FORK),
+  TEST(sum_up_cell_stats, TT_FORK),
+  TEST(append_cell_stats, TT_FORK),
+  TEST(format_cell_stats, TT_FORK),
+  TEST(event_mask, TT_FORK),
   END_OF_TESTCASES
 };
 





More information about the tor-commits mailing list