]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
test/circuitbuild: Make some tests fork
authorteor <teor@torproject.org>
Fri, 3 Apr 2020 04:35:46 +0000 (14:35 +1000)
committerteor <teor@torproject.org>
Thu, 9 Apr 2020 01:00:04 +0000 (11:00 +1000)
Since we're testing IF_BUG_ONCE(), we need to fork.

Part of 33633.

src/test/test_circuitbuild.c

index 7da25ac55c991b408ac15243ea1fbea8189d65d5..9a0599ba6cd3d590ec71cafafc70e58319388313 100644 (file)
@@ -479,7 +479,7 @@ struct testcase_t circuitbuild_tests[] = {
 
   TEST(upgrade_from_guard_wait, TT_FORK, &helper_pubsub_setup, NULL),
 
-  TEST_CIRCUIT(extend_state_valid, 0),
-  TEST_CIRCUIT(extend_add_ed25519, 0),
+  TEST_CIRCUIT(extend_state_valid, TT_FORK),
+  TEST_CIRCUIT(extend_add_ed25519, TT_FORK),
   END_OF_TESTCASES
 };