]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make tests pass again by adding an opt hidden-service-dir to the example routerinfo...
authorNick Mathewson <nickm@torproject.org>
Fri, 26 Sep 2008 17:58:35 +0000 (17:58 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 26 Sep 2008 17:58:35 +0000 (17:58 +0000)
svn:r16980

src/or/test.c

index dcf60240c89f15bfd5776658ff5dfebe1e8b587f..cf142d279a59a5e6bf387e464ba68383560d7620 100644 (file)
@@ -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 */