]> source.dussan.org Git - rspamd.git/commitdiff
[Test] MAGIC ROBOT 3039/head
authorkorgoth1 <vladislav.stakhov@gmail.com>
Thu, 19 Sep 2019 19:43:26 +0000 (22:43 +0300)
committerkorgoth1 <vladislav.stakhov@gmail.com>
Thu, 19 Sep 2019 19:43:26 +0000 (22:43 +0300)
test/functional/cases/350_magic.robot
test/functional/messages/gargantua.eml

index bd2a416a7fd8e81f32e77bb97dd69999ffa91859..02c4e89a2b974c2147470abb0ed0a5964dbe079c 100644 (file)
@@ -58,9 +58,13 @@ Magic detections bundle 1
   Should Contain  ${result.stdout}  MAGIC_SYM_7Z_42
   Should Contain  ${result.stdout}  MAGIC_SYM_VSD_43
   Should Contain  ${result.stdout}  MAGIC_SYM_PNG_44
-  Should Contain  ${result.stdout}  MAGIC_SYM_JPG_45
   Should Contain  ${result.stdout}  MAGIC_SYM_GIF_46
   Should Contain  ${result.stdout}  MAGIC_SYM_BMP_47
   Should Contain  ${result.stdout}  MAGIC_SYM_TXT_48
+  Should Contain  ${result.stdout}  MAGIC_SYM_HTML_49
+  Should Contain  ${result.stdout}  MAGIC_SYM_CSV_50
+  Should Contain  ${result.stdout}  MAGIC_SYM_EML_52
+  Should Contain  ${result.stdout}  MAGIC_SYM_JS_51
+  Should Contain  ${result.stdout}  MAGIC_SYM_JPG_45
 
 
index c9fb72af3525c7e241e7617dcfc4187b8436a163..bc13b8cf6f6c24dc292a76f16f7121df13be699c 100644 (file)
@@ -23220,11 +23220,109 @@ ZgagmZkJPArXAyRcjzIAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAA////////
 /v3///7+//3///39/v35///7///+////////////////////////AAAA
 
 --XXX
-Content-Type: text/unknown
+Content-Type: text/plain
 Content-Transfer-Encoding: base64
 X-Real-Type: txt
 
-//4xAA0ACgA=
+DQoxLiDC4uXk5e3o5S4NCg0K4OogeWFmZnMg8ujv4Cwg8uDqIOggZXh0Mi1leHQ0
+Ow0KCS0g6u7t4uXw8ujw7uLg8vwg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SJ0ZXh0L2NzcyI+CiAgICBw
+LnAxIHttYXJnaW46IDAuMHB4IDAuMHB4IDAuMHB4IDAuMHB4OyBmb250OiAxMi4w
+cHggSGVsdmV0aWNhfQogIDwvc3R5bGU+CjwvaGVhZD4KPGJvZHk+CjxwIGNsYXNz
+PSJwMSI+MTwvcD4KPC9ib2R5Pgo8L2h0bWw+Cg==
+
+--XXX
+Content-Type: application/octet-stream
+Content-Transfer-Encoding: base64
+X-Real-Type: csv
+
+Ozs7Ozs7DQo7YXNzYWQ7Ozs7Ow0KO3NhbGFkczs7Ozs7DQo7Ozs7OzsNCjs7Ozs7
+Ow0KOzs7Ozs7DQo7Ozs7OzsNCjs7Ozs7Ow0KOzthc2Rhc2Q7Ozs7DQo=
+
+--XXX
+Content-Type: application/octet-stream
+Content-Transfer-Encoding: base64
+X-Real-Type: js
+
+LyogZ2xvYmFsIGQzOnRydWUsIHJlcXVpcmU6ZmFsc2UsIHJlcXVpcmVqczpmYWxz
+ZSAqLyAvLyBlc2xpbnQtZGlzYWJsZS1saW5lIG5vLXVudXNlZC12YXJzCgpyZXF1
+aXJlanMuY29uZmlnKHsKICAgIGJhc2VVcmw6ICJqcy9saWIiLAogICAgcGF0aHM6
+IHsKICAgICAgICBhcHA6ICIuLi9hcHAiLAogICAgICAgIGpxdWVyeTogImpxdWVy
+eS0zLjQuMS5taW4iLAogICAgICAgIHZpc2liaWxpdHk6ICJ2aXNpYmlsaXR5Lm1p
+biIsCiAgICAgICAgaHVtYW5pemU6ICJodW1hbml6ZS5taW4iLAogICAgICAgIGJv
+b3RzdHJhcDogImJvb3RzdHJhcC5taW4iLAogICAgICAgIGQzOiAiZDMubWluIiwK
+ICAgICAgICBkM2V2b2x1dGlvbjogImQzZXZvbHV0aW9uLm1pbiIsCiAgICAgICAg
+ZDNwaWU6ICJkM3BpZS5taW4iLAogICAgICAgIGZvb3RhYmxlOiAiZm9vdGFibGUu
+bWluIiwKICAgICAgICBucHJvZ3Jlc3M6ICJucHJvZ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