aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_geoip.c
diff options
context:
space:
mode:
authorjuga0 <juga@riseup.net>2018-04-17 16:38:24 +0000
committerDavid Goulet <dgoulet@torproject.org>2018-04-26 11:33:22 -0400
commit96469b82f8d27f9c69d863799b624c93cd1ea6f0 (patch)
treee4a880ed832a63f091f8f9e92347d43153412ced /src/test/test_geoip.c
parent6a28a82998b239ea312289ab19e55330f801e3b9 (diff)
downloadtor-96469b82f8d27f9c69d863799b624c93cd1ea6f0.tar.gz
tor-96469b82f8d27f9c69d863799b624c93cd1ea6f0.zip
Remove FIXME about comparing num countries,
* remove the fixme since clearing the countries should be other issue * remove unused variables related to it since that cause travis to fail
Diffstat (limited to 'src/test/test_geoip.c')
-rw-r--r--src/test/test_geoip.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/test_geoip.c b/src/test/test_geoip.c
index fa5916c050..f5949f7555 100644
--- a/src/test/test_geoip.c
+++ b/src/test/test_geoip.c
@@ -511,16 +511,10 @@ test_geoip_load_2nd_file(void *arg)
const char FNAME[] = SRCDIR "/src/config/geoip";
tt_int_op(0, OP_EQ, geoip_load_file(AF_INET, FNAME));
- int num_countries_geoip = geoip_get_n_countries();
-
/* Load 2nd geoip (empty) file */
const char FNAME2[] = SRCDIR "/src/test/geoip_dummy";
tt_int_op(0, OP_EQ, geoip_load_file(AF_INET, FNAME2));
- int num_countries_geoip2 = geoip_get_n_countries();
- /* FIXME: should not this be different? */
- /* tt_int_op(num_countries_geoip, OP_NE, num_countries_geoip2); */
-
/* Check that there is no geoip information for 8.8.8.8, */
/* since loading the empty 2nd file should have delete it. */
int country = geoip_get_country_by_ipv4(0x08080808);
@@ -551,4 +545,3 @@ struct testcase_t geoip_tests[] = {
END_OF_TESTCASES
};
-