Skip to content

Commit e6106ae

Browse files
author
Felipe Zimmerle
committed
Fix regression tests for fuzzyHash
1 parent 9c83b39 commit e6106ae

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

test/regression/regression.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,9 @@ int main(int argc, char **argv) {
432432
#ifdef WITH_CURL
433433
resources.push_back("curl");
434434
#endif
435+
#ifdef WITH_SSDEEP
436+
resources.push_back("ssdeep");
437+
#endif
435438

436439
#ifdef NO_LOGS
437440
std::cout << "Test utility cannot work without logging support." \

test/test-cases/regression/operator-fuzzyhash.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{
33
"enabled":1,
44
"version_min":300000,
5+
"resource":"ssdeep",
56
"title":"Testing Operator :: @fuzzyHash (1/2)",
67
"client":{
78
"ip":"200.249.12.31",
@@ -108,6 +109,7 @@
108109
{
109110
"enabled":1,
110111
"version_min":300000,
112+
"resource":"ssdeep",
111113
"title":"Testing Operator :: @fuzzyHash (2/2)",
112114
"client":{
113115
"ip":"200.249.12.31",

test/unit/unit.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ int main(int argc, char **argv) {
130130
#ifdef WITH_CURL
131131
resources.push_back("curl");
132132
#endif
133+
#ifdef WITH_SSDEEP
134+
resources.push_back("ssdeep");
135+
#endif
136+
133137

134138
test.cmd_options(argc, argv);
135139
if (!test.m_automake_output) {

0 commit comments

Comments
 (0)