mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Redo build system to properly use autotools and avoid compilation with apxs util.
This commit is contained in:
45
tests/op/pmFromFile.t
Normal file
45
tests/op/pmFromFile.t
Normal file
@@ -0,0 +1,45 @@
|
||||
### No Match
|
||||
{
|
||||
type => "op",
|
||||
name => "pmFromFile",
|
||||
param => "op/pmFromFile-01.dat",
|
||||
input => "xxxyyyzzz",
|
||||
ret => 0,
|
||||
},
|
||||
|
||||
### Multiple
|
||||
{
|
||||
type => "op",
|
||||
name => "pmFromFile",
|
||||
param => "op/pmFromFile-01.dat",
|
||||
input => "defxxxyyy",
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
name => "pmFromFile",
|
||||
param => "op/pmFromFile-01.dat",
|
||||
input => "xxxdefyyy",
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
name => "pmFromFile",
|
||||
param => "op/pmFromFile-01.dat",
|
||||
input => "xxxyyydef",
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
name => "pmFromFile",
|
||||
param => "op/pmFromFile-01.dat",
|
||||
input => "xxx yyy zzz",
|
||||
ret => 1,
|
||||
},
|
||||
{
|
||||
type => "op",
|
||||
name => "pmFromFile",
|
||||
param => "op/pmFromFile-01.dat",
|
||||
input => "xxx yyy",
|
||||
ret => 0,
|
||||
},
|
Reference in New Issue
Block a user