Imported Upstream version 2.5.11
[libapache-mod-security.git] / apache2 / t / tfn / parityZero7bit.t
1 ### Empty
2 {
3         type => "tfn",
4         name => "parityZero7bit",
5         input => "",
6         output => "",
7         ret => 0,
8 },
9
10 ### Nothing
11 {
12         type => "tfn",
13         name => "parityZero7bit",
14         input => "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",
15         output => "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",
16         ret => 0,
17 },
18 {
19         type => "tfn",
20         name => "parityZero7bit",
21         input => "abcdefghijklmnopqrstuvwxyz\x000123456789\x00ABCDEFGHIJKLMNOPQRSTUVWXYZ",
22         output => "abcdefghijklmnopqrstuvwxyz\x000123456789\x00ABCDEFGHIJKLMNOPQRSTUVWXYZ",
23         ret => 0,
24 },
25
26 ### Basic
27 {
28         type => "tfn",
29         name => "parityZero7bit",
30         input => "\x80\x00\x8f\xff",
31         output => "\x00\x00\x0f\x7f",
32         ret => 1,
33 },