summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-06-04 18:42:30 +0000
committerNick Mathewson <nickm@torproject.org>2008-06-04 18:42:30 +0000
commit0031fee7915b779bb10c58694e73481e5f2bdc91 (patch)
treed467eb2ceed73d2ecb0a2082313186693744c332
parent4b34404ac1bdffecc40c049ae5b2426c1d0ad23b (diff)
downloadtor-0031fee7915b779bb10c58694e73481e5f2bdc91.tar.gz
tor-0031fee7915b779bb10c58694e73481e5f2bdc91.zip
Backport: Make unit tests pass again: new geoip behavior had freaked out.
svn:r14952
-rw-r--r--src/or/test.c5
1 files changed, 0 insertions, 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);