summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-01 16:06:25 -0500
committerteor <teor2345@gmail.com>2017-12-11 00:57:04 +1100
commit6f3a862966cd09b9feae357ada0ad4d51b51c0ea (patch)
tree6b8a6e540aa63f43c2da74c6eb6c8b1facdbc886 /src/test
parentd7833c9d27feed9e4d4d4d4b5920b5d17150b82d (diff)
downloadtor-6f3a862966cd09b9feae357ada0ad4d51b51c0ea.tar.gz
tor-6f3a862966cd09b9feae357ada0ad4d51b51c0ea.zip
Run the download_status_increment test in a forked process.
It messes with global state somehow in a way that makes several of the entryconn tests fail now.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 78bf23608a..0b34e8b339 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -6218,7 +6218,7 @@ struct testcase_t dir_tests[] = {
DIR(download_status_schedule, 0),
DIR(download_status_random_backoff, 0),
DIR(download_status_random_backoff_ranges, 0),
- DIR(download_status_increment, 0),
+ DIR(download_status_increment, TT_FORK),
DIR(authdir_type_to_string, 0),
DIR(conn_purpose_to_string, 0),
DIR(should_use_directory_guards, 0),