diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-09-26 17:58:35 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-09-26 17:58:35 +0000 |
commit | 283b95e463b57d2fdde1972fa152b7b3e9940a18 (patch) | |
tree | b892b2c718d001c43001732f3af7e3ac220afed7 /src/or/test.c | |
parent | ae33d3ead7cfef2bf0f9cd5dc5858dd365e573d9 (diff) | |
download | tor-283b95e463b57d2fdde1972fa152b7b3e9940a18.tar.gz tor-283b95e463b57d2fdde1972fa152b7b3e9940a18.zip |
Make tests pass again by adding an opt hidden-service-dir to the example routerinfo output.
svn:r16980
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/test.c b/src/or/test.c index dcf60240c8..cf142d279a 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -2769,6 +2769,7 @@ test_dir_format(void) strlcat(buf2, pk1_str, sizeof(buf2)); strlcat(buf2, "signing-key\n", sizeof(buf2)); strlcat(buf2, pk2_str, sizeof(buf2)); + strlcat(buf2, "opt hidden-service-dir\n", sizeof(buf2)); strlcat(buf2, "reject *:*\nrouter-signature\n", sizeof(buf2)); buf[strlen(buf2)] = '\0'; /* Don't compare the sig; it's never the same * twice */ |