[tor-commits] [tor/master] Fix shared-random test

nickm at torproject.org nickm at torproject.org
Tue Jul 5 17:31:22 UTC 2016


commit 5a047cdc5feebf33302cf28c0f6dc092df0e58a8
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Jul 5 13:31:18 2016 -0400

    Fix shared-random test
---
 src/test/test_shared_random.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index 886cee3..4f05e75 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -868,7 +868,6 @@ test_sr_get_majority_srv_from_votes(void *arg)
   /* The test relies on the dirauth list being initialized. */
   clear_dir_servers();
   add_default_trusted_dir_authorities(V3_DIRINFO);
-  tt_int_op(get_n_authorities(V3_DIRINFO), ==, 9);
 
   { /* Prepare voting environment with just a single vote. */
     networkstatus_t *vote = get_test_vote_with_curr_srv(SRV_1);



More information about the tor-commits mailing list