瀏覽代碼

[Test] Add testing for the augmentations logic

tags/3.3
Vsevolod Stakhov 2 年之前
父節點
當前提交
392294a398
沒有連結到貢獻者的電子郵件帳戶。
共有 2 個檔案被更改,包括 3 行新增2 行删除
  1. 2
    1
      test/functional/cases/001_merged/102_multimap.robot
  2. 1
    1
      test/functional/configs/merged-override.conf

+ 2
- 1
test/functional/cases/001_merged/102_multimap.robot 查看文件

@@ -73,7 +73,8 @@ MAP - COMBINED IP MASK FROM
Scan File ${MESSAGE} IP=10.1.0.10 From=user@example.com
... Settings={symbols_enabled = [COMBINED_MAP_AND, COMBINED_MAP_OR]}
Expect Symbol With Score COMBINED_MAP_AND 10
Expect Symbol COMBINED_MAP_OR
Do Not Expect Symbol COMBINED_MAP_OR
Expect Action no action

MAP - COMBINED IP MASK ONLY
Scan File ${MESSAGE} IP=10.1.0.10

+ 1
- 1
test/functional/configs/merged-override.conf 查看文件

@@ -220,7 +220,7 @@ multimap {
}
expression = "from & ip";
score = 10;
prefilter = true;
action = "no action"
}
COMBINED_MAP_OR {
type = "combined";

Loading…
取消
儲存