Imported Upstream version 2.5.11
[libapache-mod-security.git] / apache2 / t / op / geoLookup.t
1 ### Empty
2 # NOTE: All will return 0 because of lacking DB
3 {
4         type => "op",
5         name => "geoLookup",
6         param => "",
7         input => "",
8         ret => 0,
9 },
10 {
11         type => "op",
12         name => "geoLookup",
13         param => "TestCase",
14         input => "",
15         ret => 0,
16 },
17
18 # Failed Lookup
19 {
20         type => "op",
21         name => "geoLookup",
22         param => "",
23         input => "127.0.0.1",
24         ret => 0,
25 },
26
27 # Good
28 {
29         type => "op",
30         name => "geoLookup",
31         param => "",
32         input => "216.75.21.122",
33         #ret => 1,
34         ret => 0,
35 },
36 {
37         type => "op",
38         name => "geoLookup",
39         param => "",
40         input => "www.modsecurity.org",
41         #ret => 1,
42         ret => 0,
43 },
44