Commit 283b95e4 authored by Nick Mathewson's avatar Nick Mathewson 🐘
Browse files

Make tests pass again by adding an opt hidden-service-dir to the example routerinfo output.

svn:r16980
parent ae33d3ea
Loading
Loading
Loading
Loading
+1 −0
Changes for src/or/test.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -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 */