]> source.dussan.org Git - rspamd.git/commitdiff
[TEST] FROM_NEQ_ENVFROM fix 3359/head
authorkorgoth1 <vladislav.stakhov@gmail.com>
Fri, 1 May 2020 13:31:10 +0000 (16:31 +0300)
committerkorgoth1 <vladislav.stakhov@gmail.com>
Fri, 1 May 2020 13:31:10 +0000 (16:31 +0300)
test/functional/cases/280_rules.robot

index 9067084b53036308aebf34623d0126ff5979a9fa..aed23a1e7bb1a6e4c075165a19ef3a308037780b 100644 (file)
@@ -15,6 +15,7 @@ ${MESSAGE4}      ${TESTDIR}/messages/broken_richtext.eml
 ${MESSAGE5}      ${TESTDIR}/messages/badboundary.eml
 ${MESSAGE6}      ${TESTDIR}/messages/pdf_encrypted.eml
 ${MESSAGE7}      ${TESTDIR}/messages/pdf_js.eml
+${MESSAGE8}      ${TESTDIR}/messages/yand_forward.eml
 ${URL_TLD}       ${TESTDIR}/../lua/unit/test_tld.dat
 ${RSPAMD_SCOPE}  Test
 
@@ -72,8 +73,8 @@ RCVD_COUNT_SEVEN
   Should Contain  ${result.stdout}  RCVD_COUNT_SEVEN
 
 FROM_NEQ_ENVFROM
-  ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/yand_forward.eml
-  Should Contain  ${result.stdout}  FROM_NEQ_ENVFROM
+  ${result} =  Scan Message With Rspamc  ${MESSAGE8}  --from  test@test.net
+  Check Rspamc  ${result}  FROM_NEQ_ENVFROM
 
 
 *** Keywords ***