aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-28 18:07:16 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-28 18:07:16 +0100
commit817d61c731334bd9c4e11e7abe262001e77d9b67 (patch)
tree795d7e1cf9933e7a5222f3d74de44cc77408770c /test
parenta014c2274bf178774697ce2a2b83a02bf6a3ac1c (diff)
downloadrspamd-817d61c731334bd9c4e11e7abe262001e77d9b67.tar.gz
rspamd-817d61c731334bd9c4e11e7abe262001e77d9b67.zip
[Test] Add angled recipients test
Diffstat (limited to 'test')
-rw-r--r--test/functional/cases/108_settings.robot8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/cases/108_settings.robot b/test/functional/cases/108_settings.robot
index 9de9a48a6..bc20261c6 100644
--- a/test/functional/cases/108_settings.robot
+++ b/test/functional/cases/108_settings.robot
@@ -148,6 +148,14 @@ SETTINGS ID - VIRTUAL SELECTOR
Should Not Contain ${result.stdout} SIMPLE_POST
Should Not Contain ${result.stdout} SIMPLE_PRE
+SETTINGS ID - ANGLED RECIPIENT
+ ${result} = Scan Message With Rspamc ${MESSAGE} --rcpt <user3@example.com>
+ Check Rspamc ${result} SIMPLE_VIRTUAL (10
+ Should Not Contain ${result.stdout} SIMPLE_TEST
+ Should Not Contain ${result.stdout} SIMPLE_VIRTUAL1
+ Should Not Contain ${result.stdout} SIMPLE_POST
+ Should Not Contain ${result.stdout} SIMPLE_PRE
+
SETTINGS ID - VIRTUAL HEADER MATCH
${result} = Scan Message With Rspamc ${MESSAGE_7BIT}
Check Rspamc ${result} SIMPLE_VIRTUAL (10