aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_controller_events.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-08-12 09:34:26 -0400
committerNick Mathewson <nickm@torproject.org>2015-08-18 08:56:23 -0400
commite507f9bf4280d1462876c6a5bfeaf549b19306f4 (patch)
tree87a1f091bcae7cf882da00e7c8381ebd4575175c /src/test/test_controller_events.c
parent60c8fbf1ffad7c13556edc3582d2c27243865d54 (diff)
downloadtor-e507f9bf4280d1462876c6a5bfeaf549b19306f4.tar.gz
tor-e507f9bf4280d1462876c6a5bfeaf549b19306f4.zip
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.
Diffstat (limited to 'src/test/test_controller_events.c')
-rw-r--r--src/test/test_controller_events.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/test_controller_events.c b/src/test/test_controller_events.c
index bd91aecd94..7b439d490d 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
};