mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Redo build system to properly use autotools and avoid compilation with apxs util.
This commit is contained in:
33
tests/tfn/parityZero7bit.t
Normal file
33
tests/tfn/parityZero7bit.t
Normal file
@@ -0,0 +1,33 @@
|
||||
### Empty
|
||||
{
|
||||
type => "tfn",
|
||||
name => "parityZero7bit",
|
||||
input => "",
|
||||
output => "",
|
||||
ret => 0,
|
||||
},
|
||||
|
||||
### Nothing
|
||||
{
|
||||
type => "tfn",
|
||||
name => "parityZero7bit",
|
||||
input => "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
||||
output => "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
||||
ret => 0,
|
||||
},
|
||||
{
|
||||
type => "tfn",
|
||||
name => "parityZero7bit",
|
||||
input => "abcdefghijklmnopqrstuvwxyz\x000123456789\x00ABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
||||
output => "abcdefghijklmnopqrstuvwxyz\x000123456789\x00ABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
||||
ret => 0,
|
||||
},
|
||||
|
||||
### Basic
|
||||
{
|
||||
type => "tfn",
|
||||
name => "parityZero7bit",
|
||||
input => "\x80\x00\x8f\xff",
|
||||
output => "\x00\x00\x0f\x7f",
|
||||
ret => 1,
|
||||
},
|
Reference in New Issue
Block a user