]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix unit tests after r13092
authorRoger Dingledine <arma@torproject.org>
Thu, 10 Jan 2008 23:11:13 +0000 (23:11 +0000)
committerRoger Dingledine <arma@torproject.org>
Thu, 10 Jan 2008 23:11:13 +0000 (23:11 +0000)
svn:r13100

src/or/test.c

index 5a1d317ef0da350b2d82df25e31500e065012e65..918a72f254e8ef411847835f15f6e381a6fe98a8 100644 (file)
@@ -3449,7 +3449,7 @@ test_geoip(void)
     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 @@ test_geoip(void)
     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);
 }