]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Run the download_status_increment test in a forked process.
authorNick Mathewson <nickm@torproject.org>
Fri, 1 Dec 2017 21:06:25 +0000 (16:06 -0500)
committerteor <teor2345@gmail.com>
Sun, 10 Dec 2017 13:57:04 +0000 (00:57 +1100)
It messes with global state somehow in a way that makes several of
the entryconn tests fail now.

src/test/test_dir.c

index 78bf23608a44c5caa035583f0e12ecc5d749658b..0b34e8b339430acd64e96e5315b45af38be75a5d 100644 (file)
@@ -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),