[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 327688b968ff93e92d1d949ba623ce116dfb904f
Author: teor <teor@xxxxxxxxxxxxxx>
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
 };



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits