[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r11516: Fix unit tests for rendezvous descriptor parsing. (in tor/trunk: . src/or)
Author: nickm
Date: 2007-09-19 11:53:33 -0400 (Wed, 19 Sep 2007)
New Revision: 11516
Modified:
tor/trunk/
tor/trunk/src/or/test.c
Log:
r15167@catbus: nickm | 2007-09-19 11:19:08 -0400
Fix unit tests for rendezvous descriptor parsing.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r15167] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/or/test.c
===================================================================
--- tor/trunk/src/or/test.c 2007-09-19 08:47:24 UTC (rev 11515)
+++ tor/trunk/src/or/test.c 2007-09-19 15:53:33 UTC (rev 11516)
@@ -2934,7 +2934,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, 1<<2);
test_eq(d2->n_intro_points, 3);
test_streq(d2->intro_points[0], "tom");
test_streq(d2->intro_points[1], "crow");