commit f3ed090: [TEST] New bitcoin addr

korgoth1 vladislav.stakhov at gmail.com
Thu Jun 25 19:49:06 UTC 2020


Author: korgoth1
Date: 2020-06-24 22:13:17 +0300
URL: https://github.com/rspamd/rspamd/commit/f3ed090a70e0c9b14ada0150471b46535d4e023f

[TEST] New bitcoin addr

---
 test/functional/cases/280_rules.robot          | 8 ++++++++
 test/functional/messages/{btc.eml => btc2.eml} | 4 ++--
 test/functional/messages/{btc.eml => btc3.eml} | 4 ++--
 test/functional/messages/yand_forward.eml      | 2 +-
 4 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/test/functional/cases/280_rules.robot b/test/functional/cases/280_rules.robot
index a847fbbc7..18e3f3850 100644
--- a/test/functional/cases/280_rules.robot
+++ b/test/functional/cases/280_rules.robot
@@ -60,6 +60,14 @@ BITCOIN ADDR
   ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/btc.eml
   Should Contain  ${result.stdout}  BITCOIN_ADDR
 
+BITCOIN ADDR 2
+  ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/btc2.eml
+  Should Contain  ${result.stdout}  BITCOIN_ADDR
+
+BITCOIN ADDR 3
+  ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/btc3.eml
+  Should Contain  ${result.stdout}  BITCOIN_ADDR  
+
 RCVD_COUNT_ONE
   ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/btc.eml
   Should Contain  ${result.stdout}  RCVD_COUNT_ONE
diff --git a/test/functional/messages/btc.eml b/test/functional/messages/btc2.eml
similarity index 81%
copy from test/functional/messages/btc.eml
copy to test/functional/messages/btc2.eml
index 25b385f2a..fe4819c70 100644
--- a/test/functional/messages/btc.eml
+++ b/test/functional/messages/btc2.eml
@@ -11,12 +11,12 @@ Content-Type: multipart/alternative; boundary="00000000000004de7805a4489190"
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: base64
 
-1EHbEvWFkR3oY93EKym1bweaWUW2PKe6v9
+qq5llzv84punzrx2vlv33m5d5jm3tnr8aqqz3kwel3 - bech32
 
 --0000000000004bee6805a4484c02
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable
 
-1EHbEvWFkR3oY93EKym1bweaWUW2PKe6v9
+qq5llzv84punzrx2vlv33m5d5jm3tnr8aqqz3kwel3 - bech32
 
 --0000000000004bee6805a4484c02--
\ No newline at end of file
diff --git a/test/functional/messages/btc.eml b/test/functional/messages/btc3.eml
similarity index 81%
copy from test/functional/messages/btc.eml
copy to test/functional/messages/btc3.eml
index 25b385f2a..cb9dfa2a9 100644
--- a/test/functional/messages/btc.eml
+++ b/test/functional/messages/btc3.eml
@@ -11,12 +11,12 @@ Content-Type: multipart/alternative; boundary="00000000000004de7805a4489190"
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: base64
 
-1EHbEvWFkR3oY93EKym1bweaWUW2PKe6v9
+bitcoincash:qztslqhavnjcgth9zwu6dw0jjcfy4zahfy7vf0smwpp
 
 --0000000000004bee6805a4484c02
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable
 
-1EHbEvWFkR3oY93EKym1bweaWUW2PKe6v9
+bitcoincash:qztslqhavnjcgth9zwu6dw0jjcfy4zahfy7vf0smwpp
 
 --0000000000004bee6805a4484c02--
\ No newline at end of file
diff --git a/test/functional/messages/yand_forward.eml b/test/functional/messages/yand_forward.eml
index b95309f33..8ea2636de 100644
--- a/test/functional/messages/yand_forward.eml
+++ b/test/functional/messages/yand_forward.eml
@@ -1,4 +1,4 @@
-Return-Path: <test at test.eu>
+Return-Path: <test at test.net>
 Received: from mx7.test.ru ([0.0.0.0] verified)
   by mail.test.ru (test mail)
   with ESMTP id 60578244


More information about the Commits mailing list