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