Procházet zdrojové kódy

[Test] Add tests for multimap combined scores

tags/2.6
Vsevolod Stakhov před 3 roky
rodič
revize
90c781f9c6

+ 1
- 1
test/functional/cases/102_multimap.robot Zobrazit soubor

@@ -67,7 +67,7 @@ MAP - FROM

MAP - COMBINED IP MASK FROM
Scan File ${MESSAGE} IP=10.1.0.10 From=user@example.com
Expect Symbol COMBINED_MAP_AND
Expect Symbol With Score COMBINED_MAP_AND 10
Expect Symbol COMBINED_MAP_OR

MAP - COMBINED IP MASK ONLY

+ 3
- 1
test/functional/configs/multimap.conf Zobrazit soubor

@@ -179,7 +179,9 @@ multimap {
selector = "from:domain";
}
}
expression = "from & ip"
expression = "from & ip";
score = 10;
prefilter = true;
}
COMBINED_MAP_OR {
type = "combined";

Načítá se…
Zrušit
Uložit