diff options
author | Roger Dingledine <arma@torproject.org> | 2004-03-29 19:57:50 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-03-29 19:57:50 +0000 |
commit | 7118c6177d2bdcb9950a9ff991e422ffc6baff72 (patch) | |
tree | 6c4c7b096e1d6dc8709bb3bd22b4b5b31e9b6bc3 /src/or/test.c | |
parent | 155c777a84e7059ac25084a45d5358811ba1ae5e (diff) | |
download | tor-7118c6177d2bdcb9950a9ff991e422ffc6baff72.tar.gz tor-7118c6177d2bdcb9950a9ff991e422ffc6baff72.zip |
clean up a few more bugs
svn:r1365
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c index 1e8f518330..d992c02687 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -15,6 +15,8 @@ #include "or.h" #include "../common/test.h" +extern or_options_t options; + int have_failed = 0; /* These functions are file-local, but are exposed so we can test. */ @@ -760,7 +762,6 @@ test_dir_format() test_assert(router_dump_router_to_string(buf, 2048, &r2, pk1)>0); cp = buf; test_eq(dirserv_add_descriptor((const char**)&cp), 1); - extern or_options_t options; options.Nickname = "DirServer"; test_assert(!dirserv_dump_directory_to_string(buf,8192,pk3)); cp = buf; |