aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkorgoth1 <vladislav.stakhov@gmail.com>2019-11-21 17:56:43 +0300
committerkorgoth1 <vladislav.stakhov@gmail.com>2019-11-21 17:56:43 +0300
commitea800f724db02ec236145638a4d24584d12d09b5 (patch)
tree037dcc36a4f3d4fb1aa6578914f82f640e265b6d
parent7259db62ec1056de5550f0a495ebd777c879fab2 (diff)
downloadrspamd-ea800f724db02ec236145638a4d24584d12d09b5.tar.gz
rspamd-ea800f724db02ec236145638a4d24584d12d09b5.zip
[Test] Magic lua vcf+ics
-rw-r--r--test/functional/cases/350_magic.robot2
-rw-r--r--test/functional/messages/gargantua.eml30
2 files changed, 32 insertions, 0 deletions
diff --git a/test/functional/cases/350_magic.robot b/test/functional/cases/350_magic.robot
index ecb08390c..b3a760086 100644
--- a/test/functional/cases/350_magic.robot
+++ b/test/functional/cases/350_magic.robot
@@ -68,4 +68,6 @@ Magic detections bundle 1
Should Contain ${result.stdout} MAGIC_SYM_JAR_52
Should Contain ${result.stdout} MAGIC_SYM_APK_53
Should Contain ${result.stdout} MAGIC_SYM_BAT_54
+ Should Contain ${result.stdout} MAGIC_SYM_ICS_55
+ Should Contain ${result.stdout} MAGIC_SYM_VCF_56
diff --git a/test/functional/messages/gargantua.eml b/test/functional/messages/gargantua.eml
index 11cc95d23..d86f99ad5 100644
--- a/test/functional/messages/gargantua.eml
+++ b/test/functional/messages/gargantua.eml
@@ -23466,4 +23466,34 @@ KioqKioqKioqKioqKioqKioqKioNCmVjaG8gICogICAgICAgIEdvb2RieWUhICAg
ICAgICAqDQplY2hvICAqKioqKioqKioqKioqKioqKioqKioqKioqKg0KZWNoby4N
CnBhdXNlDQpzZXQgcGF0aD0lb2xkcGF0aCUNCmNvbG9y
+--XXX
+Content-Type: text/calendar
+Content-Transfer-Encoding: base64
+X-Real-Type: ics
+
+QkVHSU46VkNBTEVOREFSDQpQUk9ESUQ6LS8vVGVzdCBJbmMvL1Rlc3QgQ2FsZ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