mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
fix unit tests after r13092
svn:r13100
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user