diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-21 13:47:55 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-21 13:47:55 +0100 |
commit | 39be9db453245cf561148e3f0e17c58dec2ce747 (patch) | |
tree | af00f40328216488bebaee66256c8a78ba2fb7be /test | |
parent | ccfcc9433701673b6813b9396252bb36c7268f87 (diff) | |
download | rspamd-39be9db453245cf561148e3f0e17c58dec2ce747.tar.gz rspamd-39be9db453245cf561148e3f0e17c58dec2ce747.zip |
[Minor] Fix tests and jpeg case
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/cases/350_magic.robot | 2 | ||||
-rw-r--r-- | test/functional/messages/gargantua.eml | 68 |
2 files changed, 1 insertions, 69 deletions
diff --git a/test/functional/cases/350_magic.robot b/test/functional/cases/350_magic.robot index 02c4e89a2..5ef0dc172 100644 --- a/test/functional/cases/350_magic.robot +++ b/test/functional/cases/350_magic.robot @@ -63,8 +63,6 @@ Magic detections bundle 1 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 diff --git a/test/functional/messages/gargantua.eml b/test/functional/messages/gargantua.eml index bc13b8cf6..bc7883490 100644 --- a/test/functional/messages/gargantua.eml +++ b/test/functional/messages/gargantua.eml @@ -23256,73 +23256,7 @@ 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 -bWluIiwKICAgICAgICBucHJvZ3Jlc3M6ICJucHJvZ3Jlc3MubWluIiwKICAgICAg -ICBzdGlja3l0YWJzOiAianF1ZXJ5LnN0aWNreXRhYnMubWluIgogICAgfSwKICAg -IHNoaW06IHsKICAgICAgICBib290c3RyYXA6IHtleHBvcnRzOiJib290c3RyYXAi -LCBkZXBzOlsianF1ZXJ5Il19LAogICAgICAgIGQzcGllOiB7ZXhwb3J0czoiZDNw -aWUiLCBkZXBzOlsiZDMuZ2xvYmFsIiwgImpxdWVyeSJdfSwKICAgICAgICBkM2V2 -b2x1dGlvbjoge2V4cG9ydHM6IkQzRXZvbHV0aW9uIiwgZGVwczpbImQzIiwgImpx -dWVyeSJdfSwKICAgICAgICBmb290YWJsZToge2RlcHM6WyJib290c3RyYXAiLCAi -anF1ZXJ5Il19LAogICAgICAgIHN0aWNreXRhYnM6IHtkZXBzOlsianF1ZXJ5Il19 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sKICAgICAgICAgICAgICAg -ICJvbkNsaWNrPVwid2luZG93LmxvY2F0aW9uLnJlbG9hZCgpOyB0aGlzLnBhcmVu -dE5vZGUucGFyZW50Tm9kZS5yZW1vdmVDaGlsZCh0aGlzLnBhcmVudE5vZGUpO1wi -ICIgKwogICAgICAgICAgICAgICAgInRpdGxlPVwiUmVsb2FkIGN1cnJlbnQgcGFn -ZVwiPiIgKwogICAgICAgICAgICAgICAgIjxpIGNsYXNzPVwiZ2x5cGhpY29uIGds -eXBoaWNvbi1yZXBlYXRcIj48L2k+IFJlbG9hZCIgKwogICAgICAgICAgICAiPC9i -dXR0b24+IiArCiAgICAgICAgIjwvZGl2PiI7CiAgICB0aHJvdyBlOwp9OwoKLy8g -TG9hZCBtYWluIFVJCnJlcXVpcmUoWyJhcHAvcnNwYW1kIl0sCiAgICBmdW5jdGlv -biAocnNwYW1kKSB7CiAgICAgICAgInVzZSBzdHJpY3QiOwogICAgICAgIHJzcGFt -ZC5zZXR1cCgpOwogICAgICAgIHJzcGFtZC5jb25uZWN0KCk7CiAgICB9Cik7Cg== - ---XXX -Content-Type: message/rfc822 -Content-Transfer-Encoding: base64 -X-Real-Type: eml - -UmVjZWl2ZWQ6ICoNCkZyb206IDwqPg0KVG86ICIqIiA8Kj4NClJlcGx5LVRvOiA8 -Kj4NCkRhdGU6IFRodSwgMTkgU2VwIDIwMTkgMjE6MzM6NDQgKzAzMDANCkNvbnRl -bnQtVHJhbnNmZXItRW5jb2Rpbmc6IDdiaXQNCkNvbnRlbnQtVHlwZTogbXVsdGlw -YXJ0L21peGVkOyBib3VuZGFyeT0iXy0tLS0tLS0tLS09XzE1Njg5MTgwMjQ5MzY5 -MjgiDQpNZXNzYWdlLUlkOiA8Kj4NCk1JTUUtVmVyc2lvbjogMS4wDQoNClRoaXMg -aXMgYSBtdWx0aS1wYXJ0IG1lc3NhZ2UgaW4gTUlNRSBmb3JtYXQuDQoNCi0tXy0t -LS0tLS0tLS09XzE1Njg5MTgwMjQ5MzY5MjgNCkNvbnRlbnQtVHlwZTogbXVsdGlw -YXJ0L2FsdGVybmF0aXZlOyBib3VuZGFyeT0iXy0tLS0tLS0tLS09XzE1Njg5MTgw -MjQ5MzY5MjkiDQoNClRoaXMgaXMgYSBtdWx0aS1wYXJ0IG1lc3NhZ2UgaW4gTUlN -RSBmb3JtYXQuDQoNCg== +dGVzdCwxMjUsNzc3LDc3NwoxLDIsMyw0Cg== --XXX--
\ No newline at end of file |