[tor-commits] [tor/master] test/circuitbuild: Make some tests fork

nickm at torproject.org nickm at torproject.org
Thu Apr 9 15:56:22 UTC 2020


commit 327688b968ff93e92d1d949ba623ce116dfb904f
Author: teor <teor at torproject.org>
Date:   Fri Apr 3 14:35:46 2020 +1000

    test/circuitbuild: Make some tests fork
    
    Since we're testing IF_BUG_ONCE(), we need to fork.
    
    Part of 33633.
---
 src/test/test_circuitbuild.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/test_circuitbuild.c b/src/test/test_circuitbuild.c
index 7da25ac55..9a0599ba6 100644
--- a/src/test/test_circuitbuild.c
+++ b/src/test/test_circuitbuild.c
@@ -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
 };





More information about the tor-commits mailing list