diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2017-12-06 22:50:19 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2017-12-06 23:22:27 +0300 |
commit | c0b636ed17c1b96d7ae5bb4fc7ae2a98bd75196e (patch) | |
tree | f7b51f59d8b1f4124fd8d6534720221831626c11 /test/functional/cases | |
parent | d7442a934fa1c66c1954ec103cf66f6a80ede16b (diff) | |
download | rspamd-c0b636ed17c1b96d7ae5bb4fc7ae2a98bd75196e.tar.gz rspamd-c0b636ed17c1b96d7ae5bb4fc7ae2a98bd75196e.zip |
[Test] Add test for date followed by bad extension
Diffstat (limited to 'test/functional/cases')
-rw-r--r-- | test/functional/cases/105_mimetypes.robot | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/cases/105_mimetypes.robot b/test/functional/cases/105_mimetypes.robot index 1756377d4..5e3860ef4 100644 --- a/test/functional/cases/105_mimetypes.robot +++ b/test/functional/cases/105_mimetypes.robot @@ -23,6 +23,10 @@ Next-to-last Double Bad Extension ${result} = Scan Message With Rspamc ${TESTDIR}/messages/next2last-doublebad.eml Check Rspamc ${result} MIME_DOUBLE_BAD_EXTENSION \\(\\d+\\.\\d+\\)\\[\\.scr\\.xz\\]\\n re=1 +Date is followed by Bad Extension + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/rar-date-bad-ext.eml + Check Rspamc ${result} MIME_BAD_EXTENSION \\(\\d+\\.\\d+\\)\\[scr\\]\\n re=1 + Rar4 ${result} = Scan Message With Rspamc ${TESTDIR}/messages/rar4.eml Check Rspamc ${result} MIME_BAD_EXTENSION \\(\\d+\\.\\d+\\)\\[exe\\]\\n re=1 |