[or-cvs] r11980: Backport unit test fix for revised hidden service code. (in tor/branches/tor-0_1_2-patches: . src/or)

nickm at seul.org nickm at seul.org
Tue Oct 16 13:59:32 UTC 2007


Author: nickm
Date: 2007-10-16 09:59:32 -0400 (Tue, 16 Oct 2007)
New Revision: 11980

Modified:
   tor/branches/tor-0_1_2-patches/
   tor/branches/tor-0_1_2-patches/src/or/test.c
Log:
 r15841 at catbus:  nickm | 2007-10-16 09:49:19 -0400
 Backport unit test fix for revised hidden service code.



Property changes on: tor/branches/tor-0_1_2-patches
___________________________________________________________________
 svk:merge ticket from /tor/012 [r15841] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/branches/tor-0_1_2-patches/src/or/test.c
===================================================================
--- tor/branches/tor-0_1_2-patches/src/or/test.c	2007-10-16 11:37:23 UTC (rev 11979)
+++ tor/branches/tor-0_1_2-patches/src/or/test.c	2007-10-16 13:59:32 UTC (rev 11980)
@@ -1815,7 +1815,7 @@
   test_assert(!crypto_pk_cmp_keys(d1->pk, d2->pk));
   test_eq(d2->timestamp, now);
   test_eq(d2->version, 0);
-  test_eq(d2->protocols, 1);
+  test_eq(d2->protocols, 4);
   test_eq(d2->n_intro_points, 3);
   test_streq(d2->intro_points[0], "tom");
   test_streq(d2->intro_points[1], "crow");



More information about the tor-commits mailing list