[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r16980: {tor} Make tests pass again by adding an opt hidden-service-dir to (tor/trunk/src/or)



Author: nickm
Date: 2008-09-26 13:58:35 -0400 (Fri, 26 Sep 2008)
New Revision: 16980

Modified:
   tor/trunk/src/or/test.c
Log:
Make tests pass again by adding an opt hidden-service-dir to the example routerinfo output.

Modified: tor/trunk/src/or/test.c
===================================================================
--- tor/trunk/src/or/test.c	2008-09-26 17:09:19 UTC (rev 16979)
+++ tor/trunk/src/or/test.c	2008-09-26 17:58:35 UTC (rev 16980)
@@ -2769,6 +2769,7 @@
   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 */