~racb/ubuntu/precise/modsecurity-apache/988819_2

« back to all changes in this revision

Viewing changes to apache2/t/tfn/parityEven7bit.t

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Gonzalez Iniesta
  • Date: 2011-03-23 18:36:29 UTC
  • Revision ID: james.westby@ubuntu.com-20110323183629-8rwn0362sqqqqbgl
Tags: upstream-2.5.13
ImportĀ upstreamĀ versionĀ 2.5.13

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
### Empty
 
2
{
 
3
        type => "tfn",
 
4
        name => "parityEven7bit",
 
5
        input => "",
 
6
        output => "",
 
7
        ret => 0,
 
8
},
 
9
 
 
10
### Nothing
 
11
{
 
12
        type => "tfn",
 
13
        name => "parityEven7bit",
 
14
        input => "cefijloqrtwx03569ABDGHKMNPSUVYZ",
 
15
        output => "cefijloqrtwx03569ABDGHKMNPSUVYZ",
 
16
        ret => 0,
 
17
},
 
18
 
 
19
### Parity
 
20
{
 
21
        type => "tfn",
 
22
        name => "parityEven7bit",
 
23
        input => "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",
 
24
        output => "\xe1\xe2c\xe4ef\xe7\xe8ij\xebl\xed\xeeo\xf0qr\xf3t\xf5\xf6wx\xf9\xfa0\xb1\xb23\xb456\xb7\xb89AB\xc3D\xc5\xc6GH\xc9\xcaK\xccMN\xcfP\xd1\xd2S\xd4UV\xd7\xd8YZ",
 
25
        ret => 1,
 
26
},
 
27
{
 
28
        type => "tfn",
 
29
        name => "parityEven7bit",
 
30
        input => "abcdefghijklmnopqrstuvwxyz\x000123456789\x00ABCDEFGHIJKLMNOPQRSTUVWXYZ",
 
31
        output => "\xe1\xe2c\xe4ef\xe7\xe8ij\xebl\xed\xeeo\xf0qr\xf3t\xf5\xf6wx\xf9\xfa\x000\xb1\xb23\xb456\xb7\xb89\x00AB\xc3D\xc5\xc6GH\xc9\xcaK\xccMN\xcfP\xd1\xd2S\xd4UV\xd7\xd8YZ",
 
32
        ret => 1,
 
33
},
 
34