mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Warn about parser error during the regression test
This commit is contained in:
parent
c800214e6d
commit
95a707964d
@ -115,6 +115,7 @@ void perform_unit_test(std::vector<RegressionTest *> *tests,
|
||||
testRes->reason << modsec_rules->getParserError() \
|
||||
<< std::endl;
|
||||
testRes->passed = false;
|
||||
res->push_back(testRes);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user