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

[or-cvs] r13100: fix unit tests after r13092 (tor/trunk/src/or)



Author: arma
Date: 2008-01-10 18:11:13 -0500 (Thu, 10 Jan 2008)
New Revision: 13100

Modified:
   tor/trunk/src/or/test.c
Log:
fix unit tests after r13092


Modified: tor/trunk/src/or/test.c
===================================================================
--- tor/trunk/src/or/test.c	2008-01-10 19:08:07 UTC (rev 13099)
+++ tor/trunk/src/or/test.c	2008-01-10 23:11:13 UTC (rev 13100)
@@ -3449,7 +3449,7 @@
     geoip_note_client_seen(i, now-7200);
   s = geoip_get_client_history(now+5*24*60*60);
   test_assert(s);
-  test_streq("zz=16,ab=8", s);
+  test_streq("zz=24,ab=16", s);
   tor_free(s);
 
   /* Now clear out all the zz observations. */
@@ -3461,7 +3461,7 @@
     geoip_note_client_seen(i, now-3600);
   s = geoip_get_client_history(now+5*24*60*60);
   test_assert(s);
-  test_streq("ab=8", s);
+  test_streq("ab=16", s);
   tor_free(s);
 }