Imported Upstream version 2.5.11
[libapache-mod-security.git] / apache2 / t / op / le.t
1 ### Empty
2 {
3         type => "op",
4         name => "le",
5         param => "0",
6         input => "",
7         ret => 1,
8 },
9 {
10         type => "op",
11         name => "le",
12         param => "5",
13         input => "",
14         ret => 1,
15 },
16
17 ### Invalid
18 # xxx interpreted as 0
19 {
20         type => "op",
21         name => "le",
22         param => "xxx",
23         input => "5",
24         ret => 0,
25 },
26 # xxx interpreted as 0
27 {
28         type => "op",
29         name => "le",
30         param => "xxx",
31         input => "-1",
32         ret => 1,
33 },
34 # xxx interpreted as 0
35 {
36         type => "op",
37         name => "le",
38         param => "0",
39         input => "xxx",
40         ret => 1,
41 },
42 # xxx interpreted as 0
43 {
44         type => "op",
45         name => "le",
46         param => "5",
47         input => "xxx",
48         ret => 1,
49 },
50
51 ### General
52 {
53         type => "op",
54         name => "le",
55         param => "0",
56         input => "-5",
57         ret => 1,
58 },
59 {
60         type => "op",
61         name => "le",
62         param => "0",
63         input => "0",
64         ret => 1,
65 },
66 {
67         type => "op",
68         name => "le",
69         param => "0",
70         input => "5",
71         ret => 0,
72 },
73 {
74         type => "op",
75         name => "le",
76         param => "5",
77         input => "0",
78         ret => 1,
79 },
80 {
81         type => "op",
82         name => "le",
83         param => "5",
84         input => "5",
85         ret => 1,
86 },
87 {
88         type => "op",
89         name => "le",
90         param => "5",
91         input => "10",
92         ret => 0,
93 },