mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Fix regression tests for fuzzyHash
This commit is contained in:
@@ -432,6 +432,9 @@ int main(int argc, char **argv) {
|
||||
#ifdef WITH_CURL
|
||||
resources.push_back("curl");
|
||||
#endif
|
||||
#ifdef WITH_SSDEEP
|
||||
resources.push_back("ssdeep");
|
||||
#endif
|
||||
|
||||
#ifdef NO_LOGS
|
||||
std::cout << "Test utility cannot work without logging support." \
|
||||
|
@@ -2,6 +2,7 @@
|
||||
{
|
||||
"enabled":1,
|
||||
"version_min":300000,
|
||||
"resource":"ssdeep",
|
||||
"title":"Testing Operator :: @fuzzyHash (1/2)",
|
||||
"client":{
|
||||
"ip":"200.249.12.31",
|
||||
@@ -108,6 +109,7 @@
|
||||
{
|
||||
"enabled":1,
|
||||
"version_min":300000,
|
||||
"resource":"ssdeep",
|
||||
"title":"Testing Operator :: @fuzzyHash (2/2)",
|
||||
"client":{
|
||||
"ip":"200.249.12.31",
|
||||
|
@@ -130,6 +130,10 @@ int main(int argc, char **argv) {
|
||||
#ifdef WITH_CURL
|
||||
resources.push_back("curl");
|
||||
#endif
|
||||
#ifdef WITH_SSDEEP
|
||||
resources.push_back("ssdeep");
|
||||
#endif
|
||||
|
||||
|
||||
test.cmd_options(argc, argv);
|
||||
if (!test.m_automake_output) {
|
||||
|
Reference in New Issue
Block a user