From 0031fee7915b779bb10c58694e73481e5f2bdc91 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 4 Jun 2008 18:42:30 +0000 Subject: [PATCH] Backport: Make unit tests pass again: new geoip behavior had freaked out. svn:r14952 --- src/or/test.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/or/test.c b/src/or/test.c index f94cb6786b..6a7d2729fb 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -3497,11 +3497,6 @@ test_geoip(void) /* Now clear out all the zz observations. */ geoip_remove_old_clients(now-6000); s = geoip_get_client_history(now+5*24*60*60); - test_assert(s); /* Any answer is worth reporting. */ - /* Add 4 more in XY... */ - for (i=55; i < 59; ++i) - geoip_note_client_seen(i, now-3600); - s = geoip_get_client_history(now+5*24*60*60); test_assert(s); test_streq("ab=16,xy=8", s); tor_free(s);