]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Test] Add angled recipients test
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 28 Jun 2019 17:07:16 +0000 (18:07 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 28 Jun 2019 17:07:16 +0000 (18:07 +0100)
test/functional/cases/108_settings.robot

index 9de9a48a6313cb7e5eb12f91348f40a447569b6f..bc20261c63d1c568ddc2329da03c5897b18c1bb9 100644 (file)
@@ -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