aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/280_rules.robot
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases/280_rules.robot')
-rw-r--r--test/functional/cases/280_rules.robot5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/cases/280_rules.robot b/test/functional/cases/280_rules.robot
index d66ecf5d4..882fc7275 100644
--- a/test/functional/cases/280_rules.robot
+++ b/test/functional/cases/280_rules.robot
@@ -12,6 +12,7 @@ ${MESSAGE1} ${TESTDIR}/messages/fws_fn.eml
${MESSAGE2} ${TESTDIR}/messages/fws_fp.eml
${MESSAGE3} ${TESTDIR}/messages/fws_tp.eml
${MESSAGE4} ${TESTDIR}/messages/broken_richtext.eml
+${MESSAGE5} ${TESTDIR}/messages/badboundary.eml
${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat
${RSPAMD_SCOPE} Test
@@ -40,6 +41,10 @@ Dynamic Config
Check Rspamc ${result} SA_BODY_WORD (10
Check Rspamc ${result} \/ 20
+Broken boundary
+ ${result} = Scan Message With Rspamc ${MESSAGE4}
+ Check Rspamc ${result} BROKEN_CONTENT_TYPE
+
*** Keywords ***
Rules Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/regexp.conf