mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +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() \
|
testRes->reason << modsec_rules->getParserError() \
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
testRes->passed = false;
|
testRes->passed = false;
|
||||||
|
res->push_back(testRes);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user