aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-07-05 12:52:30 -0400
committerNick Mathewson <nickm@torproject.org>2016-07-05 12:52:30 -0400
commit5c97b42cac83edfbe979f6a5399ed43c2cdad153 (patch)
tree7bbdb8bf28d70ab6cdb06a1d95848b71f94b7873 /src
parent8cae4abbacbda313081b1a567cb87d74bb9cea82 (diff)
parente99cc8740f793ba3796408c6f23bf35f12572193 (diff)
downloadtor-5c97b42cac83edfbe979f6a5399ed43c2cdad153.tar.gz
tor-5c97b42cac83edfbe979f6a5399ed43c2cdad153.zip
Merge branch 'maint-0.2.8'
Diffstat (limited to 'src')
-rw-r--r--src/test/test_config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c
index 6d9b4916e3..90ea4da87d 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -1630,10 +1630,10 @@ test_config_adding_default_trusted_dir_servers(void *arg)
tt_assert(get_n_authorities(BRIDGE_DIRINFO) == 1);
tt_assert(smartlist_len(router_get_fallback_dir_servers()) == 1);
- /* Assume we have nine V3 authorities */
+ /* Assume we have eight V3 authorities */
add_default_trusted_dir_authorities(V3_DIRINFO);
- tt_assert(get_n_authorities(V3_DIRINFO) == 9);
- tt_assert(smartlist_len(router_get_fallback_dir_servers()) == 10);
+ tt_int_op(get_n_authorities(V3_DIRINFO), OP_EQ, 8);
+ tt_int_op(smartlist_len(router_get_fallback_dir_servers()), OP_EQ, 9);
done:
clear_dir_servers();