mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Regression suite cleanup merged from 2.5.x.
This commit is contained in:
@@ -76,7 +76,7 @@ clean: clean-extras
|
|||||||
@rm -rf *.la *.lo *.o *.slo .libs msc_test msc-test-debug.log
|
@rm -rf *.la *.lo *.o *.slo .libs msc_test msc-test-debug.log
|
||||||
|
|
||||||
maintainer-clean: clean
|
maintainer-clean: clean
|
||||||
@rm -rf Makefile mlogc-src/Makefile t/run-unit-tests.pl t/run-regression-tests.pl config config.log config.status configure mod_security2_config.h ../tools/*.pl autoscan.log configure.scan build/libtool.m4 build/config.guess build/config.sub build/ltmain.sh build/apxs-wrapper
|
@rm -rf Makefile mlogc-src/Makefile t/run-unit-tests.pl t/run-regression-tests.pl t/gen_rx-pm.pl t/csv_rx-pm.pl t/run-tests.pl t/regression/server_root/conf/httpd.conf t/regression/server_root/conf/config_*.t_*.conf config config.log config.status configure mod_security2_config.h ../tools/*.pl autoscan.log configure.scan build/libtool.m4 build/config.guess build/config.sub build/ltmain.sh build/apxs-wrapper
|
||||||
|
|
||||||
distclean: maintainer-clean
|
distclean: maintainer-clean
|
||||||
|
|
||||||
|
@@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
ServerName localhost
|
ServerName localhost
|
||||||
|
|
||||||
|
CoreDumpDirectory @MSC_REGRESSION_SERVERROOT_DIR@/tmp
|
||||||
|
|
||||||
LogLevel debug
|
LogLevel debug
|
||||||
ErrorLog @MSC_REGRESSION_LOGS_DIR@/error.log
|
ErrorLog @MSC_REGRESSION_LOGS_DIR@/error.log
|
||||||
|
|
||||||
|
@@ -279,6 +279,7 @@ sub runfile {
|
|||||||
|
|
||||||
# Search for all file matches
|
# Search for all file matches
|
||||||
if ($rc == 0 and exists $t{match_file} and defined $t{match_file}) {
|
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} || {}}) {
|
for my $key (keys %{ $t{match_file} || {}}) {
|
||||||
my($neg,$fn) = ($key =~ m/^(-?)(.*)$/);
|
my($neg,$fn) = ($key =~ m/^(-?)(.*)$/);
|
||||||
my $m = $t{match_file}{$key};
|
my $m = $t{match_file}{$key};
|
||||||
|
Reference in New Issue
Block a user