mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Some more reorg of tests.
This commit is contained in:
1
apache2/t/op/beginsWith.t
Normal file
1
apache2/t/op/beginsWith.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/contains.t
Normal file
1
apache2/t/op/contains.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/containsWord.t
Normal file
1
apache2/t/op/containsWord.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/endsWith.t
Normal file
1
apache2/t/op/endsWith.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/eq.t
Normal file
1
apache2/t/op/eq.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/ge.t
Normal file
1
apache2/t/op/ge.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/geoLookup.t
Normal file
1
apache2/t/op/geoLookup.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/gt.t
Normal file
1
apache2/t/op/gt.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/inspectFile.t
Normal file
1
apache2/t/op/inspectFile.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/le.t
Normal file
1
apache2/t/op/le.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/lt.t
Normal file
1
apache2/t/op/lt.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/m.t
Normal file
1
apache2/t/op/m.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/noMatch.t
Normal file
1
apache2/t/op/noMatch.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/pm.t
Normal file
1
apache2/t/op/pm.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/pmFromFile.t
Normal file
1
apache2/t/op/pmFromFile.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/rbl.t
Normal file
1
apache2/t/op/rbl.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/rx.t
Normal file
1
apache2/t/op/rx.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/streq.t
Normal file
1
apache2/t/op/streq.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/unconditionalMatch.t
Normal file
1
apache2/t/op/unconditionalMatch.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/validateByteRange.t
Normal file
1
apache2/t/op/validateByteRange.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/validateDTD.t
Normal file
1
apache2/t/op/validateDTD.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/validateSchema.t
Normal file
1
apache2/t/op/validateSchema.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/validateUrlEncoding.t
Normal file
1
apache2/t/op/validateUrlEncoding.t
Normal file
@@ -0,0 +1 @@
|
||||
|
1
apache2/t/op/validateUtf8Encoding.t
Normal file
1
apache2/t/op/validateUtf8Encoding.t
Normal file
@@ -0,0 +1 @@
|
||||
|
35
apache2/t/op/verifyCC.t
Normal file
35
apache2/t/op/verifyCC.t
Normal file
@@ -0,0 +1,35 @@
|
||||
### Empty
|
||||
{
|
||||
type => "op",
|
||||
name => "verifyCC",
|
||||
param => "\\d{15,16}",
|
||||
input => "",
|
||||
rc => 0,
|
||||
},
|
||||
|
||||
### Non-matching
|
||||
{
|
||||
type => "op",
|
||||
name => "verifyCC",
|
||||
param => "\\d{15,16}",
|
||||
input => "TestCase",
|
||||
rc => 0,
|
||||
},
|
||||
|
||||
### Bad CC#
|
||||
{
|
||||
type => "op",
|
||||
name => "verifyCC",
|
||||
param => "\\d{15,16}",
|
||||
input => "01234567890123456",
|
||||
rc => 0,
|
||||
},
|
||||
|
||||
### Good CC#
|
||||
{
|
||||
type => "op",
|
||||
name => "verifyCC",
|
||||
param => "\\d{15,16}",
|
||||
input => "372802490654059",
|
||||
rc => 0,
|
||||
},
|
1
apache2/t/op/within.t
Normal file
1
apache2/t/op/within.t
Normal file
@@ -0,0 +1 @@
|
||||
|
Reference in New Issue
Block a user