]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix shared-random test
authorNick Mathewson <nickm@torproject.org>
Tue, 5 Jul 2016 17:31:18 +0000 (13:31 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 5 Jul 2016 17:31:18 +0000 (13:31 -0400)
src/test/test_shared_random.c

index 886cee3a33c6195d99c2e2e4d034f63bea0ecf96..4f05e75783b62f2c48f24eede5cbe33cb7d80d66 100644 (file)
@@ -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);