commit 8e387f5: [Test] Add test for csv detection
Vsevolod Stakhov
vsevolod at highsecure.ru
Sun Mar 13 16:28:04 UTC 2022
Author: Vsevolod Stakhov
Date: 2022-03-13 16:27:20 +0000
URL: https://github.com/rspamd/rspamd/commit/8e387f507ad87fa25ffef34bf1c045ec490254ac (HEAD -> master)
[Test] Add test for csv detection
---
test/functional/cases/001_merged/350_magic.robot | 1 +
test/functional/messages/gargantua.eml | 8 +++++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/test/functional/cases/001_merged/350_magic.robot b/test/functional/cases/001_merged/350_magic.robot
index b8f6936cb..66a18f2af 100644
--- a/test/functional/cases/001_merged/350_magic.robot
+++ b/test/functional/cases/001_merged/350_magic.robot
@@ -64,3 +64,4 @@ Magic detections bundle 1
... MAGIC_SYM_BAT_54
... MAGIC_SYM_ICS_55
... MAGIC_SYM_VCF_56
+ ... MAGIC_SYM_CSV_57
diff --git a/test/functional/messages/gargantua.eml b/test/functional/messages/gargantua.eml
index d86f99ad5..c6edc50f3 100644
--- a/test/functional/messages/gargantua.eml
+++ b/test/functional/messages/gargantua.eml
@@ -23495,5 +23495,11 @@ QkVHSU46VkNBUkQNClZFUlNJT046My4wDQpGTjrQkNCy0YLQvtC60L7RgNC10LXR
hg0KTjo70JDQstGC0L7QutC+0YDQtdC10YY7OzsNClRFTDtUWVBFPUNFTEw6MjYy
LTc3Mg0KVEVMO1RZUEU9SE9NRTorNzkwMDUyNjI3NzINCkVORDpWQ0FSRA0K
+--XXX
+Content-Type: text/csv
+Content-Transfer-Encoding: base64
+X-Real-Type: csv
+
+ImZvbyIsImJhciIsImJheiIKIjEiLCIyIiwiMyIK
---XXX--
\ No newline at end of file
+--XXX--
More information about the Commits
mailing list