aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-06-13 11:11:19 +0000
committerRoger Dingledine <arma@torproject.org>2006-06-13 11:11:19 +0000
commitb4e415ba3c43e815f4eab2a09dde59ecc4aabdb3 (patch)
tree0aad775b91e3a79bbb47aa9f2e0bcba85af7eaa2 /src/or/test.c
parent88dadc917cf48d234c9fab82751eece5ef119107 (diff)
downloadtor-b4e415ba3c43e815f4eab2a09dde59ecc4aabdb3.tar
tor-b4e415ba3c43e815f4eab2a09dde59ecc4aabdb3.tar.gz
now we can tell dirserv_dump_directory_to_string() whether we want
it to include down/invalid descriptors or not. svn:r6618
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 407abbf15..c015726ac 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -1320,7 +1320,7 @@ test_dir_format(void)
test_assert(router_dump_router_to_string(buf, 2048, &r2, pk1)>0);
test_eq(dirserv_add_descriptor(buf,&m), 2);
get_options()->Nickname = tor_strdup("DirServer");
- test_assert(!dirserv_dump_directory_to_string(&cp,pk3));
+ test_assert(!dirserv_dump_directory_to_string(&cp,pk3, 0));
crypto_pk_get_digest(pk3, d);
test_assert(!router_parse_directory(cp));
test_eq(2, smartlist_len(dir1->routers));