mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Regression suite cleanup merged from 2.5.x.
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
|
||||
ServerName localhost
|
||||
|
||||
CoreDumpDirectory @MSC_REGRESSION_SERVERROOT_DIR@/tmp
|
||||
|
||||
LogLevel debug
|
||||
ErrorLog @MSC_REGRESSION_LOGS_DIR@/error.log
|
||||
|
||||
|
@@ -279,6 +279,7 @@ sub runfile {
|
||||
|
||||
# Search for all file matches
|
||||
if ($rc == 0 and exists $t{match_file} and defined $t{match_file}) {
|
||||
sleep 1; # Make sure the file exists
|
||||
for my $key (keys %{ $t{match_file} || {}}) {
|
||||
my($neg,$fn) = ($key =~ m/^(-?)(.*)$/);
|
||||
my $m = $t{match_file}{$key};
|
||||
|
Reference in New Issue
Block a user