commit 817d61c: [Test] Add angled recipients test

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Jun 28 17:14:07 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-06-28 18:07:16 +0100
URL: https://github.com/rspamd/rspamd/commit/817d61c731334bd9c4e11e7abe262001e77d9b67 (HEAD -> master)

[Test] Add angled recipients test

---
 test/functional/cases/108_settings.robot | 8 ++++++++
 1 file changed, 8 insertions(+)

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 at 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


More information about the Commits mailing list