Searched refs:expectedCountry (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/GeoIP-1.5.1/test/
H A Dtest-geoip.c27 char expectedCountry[3]; local
67 while (fscanf(f, "%s%s%s", ipAddress, expectedCountry, expectedCountry3)
71 || strcmp(returnedCountry, expectedCountry) != 0) {
74 test_num, ipAddress, returnedCountry, expectedCountry);
79 || strcmp(returnedCountry, expectedCountry) != 0) {
82 test_num, ipAddress, returnedCountry, expectedCountry);
90 test_num, ipAddress, returnedCountry, expectedCountry);
98 test_num, ipAddress, returnedCountry, expectedCountry);
106 while (fscanf(f, "%s%s", ipAddress, expectedCountry) != EOF) {
109 || strcmp(returnedCountry, expectedCountry) !
[all...]
H A Dtest-geoip-region.c58 char expectedCountry[3]; local
82 while (fscanf(f, "%s%s%s", ipAddress, expectedCountry, expectedCountry3) !=

Completed in 46 milliseconds