From: Mikhail Galanin Date: Tue, 14 Aug 2018 15:33:23 +0000 (+0100) Subject: [Test] Added few more fake records X-Git-Tag: 1.8.0~261^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=533f9e950db55559a06c8e76d1f50c7f13438311;p=rspamd.git [Test] Added few more fake records --- diff --git a/test/functional/cases/102_multimap.robot b/test/functional/cases/102_multimap.robot index 7aac43e4e..3b0995d56 100644 --- a/test/functional/cases/102_multimap.robot +++ b/test/functional/cases/102_multimap.robot @@ -66,7 +66,7 @@ MAP - FROM MISS MAP - FROM REGEXP ${result} = Scan Message With Rspamc ${MESSAGE} --from user123@test.com Check Rspamc ${result} REGEXP_MAP - ${result} = Scan Message With Rspamc ${MESSAGE} --from somebody@exAmplE.com + ${result} = Scan Message With Rspamc ${MESSAGE} --from somebody@example.com Check Rspamc ${result} REGEXP_MAP MAP - FROM REGEXP MISS diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf index 2b3e48b04..eab954333 100644 --- a/test/functional/configs/plugins.conf +++ b/test/functional/configs/plugins.conf @@ -232,6 +232,11 @@ options = { type = "txt"; replies = ["$Id: example.com 4415 2015-08-24 20:12:23Z davids $", "v=spf1 -all"]; }, + { + name = "example.com", + type = "a"; + replies = ["93.184.216.34"]; + }, { name = "testdkim1._domainkey.dnssec-failed.org", type = "txt"; @@ -391,6 +396,31 @@ options = { name = "114.47.228.46.asn.rspamd.com", type = "txt"; replies = ["34010|46.228.40.0/21|GB|ripencc|"]; + }, + { + name = "10.0.1.10.rspamd.com", + type = "a"; + rcode = 'nxdomain'; + }, + { + name = "10.0.1.11.rspamd.com", + type = "a"; + rcode = 'nxdomain'; + }, + { + name = "other.org", + type = "txt"; + rcode = 'norec'; + }, + { + name = "8.8.8.8.rspamd.com", + type = "a"; + rcode = 'nxdomain'; + }, + { + name = "rspamd.tk", + type = "txt"; + replies = ["bio=a263adeab8acdcdb8b89e127b67d696061fdfbee"]; }]; } } diff --git a/test/functional/configs/stats.conf b/test/functional/configs/stats.conf index afa405baf..e770de2e8 100644 --- a/test/functional/configs/stats.conf +++ b/test/functional/configs/stats.conf @@ -5,6 +5,11 @@ options = { dns { retransmits = 10; timeout = 2s; + fake_records = [{ + name = "example.net"; + type = txt; + replies = ["v=spf1 -all"]; + }] } } logging = {