You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by si...@apache.org on 2022/06/15 22:45:51 UTC

svn commit: r1901953 - /spamassassin/trunk/t/basic_meta_net.t

Author: sidney
Date: Wed Jun 15 22:45:51 2022
New Revision: 1901953

URL: http://svn.apache.org/viewvc?rev=1901953&view=rev
Log:
bug 8003 - Change ip address used in test from one that Windows is too strict with

Modified:
    spamassassin/trunk/t/basic_meta_net.t

Modified: spamassassin/trunk/t/basic_meta_net.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/basic_meta_net.t?rev=1901953&r1=1901952&r2=1901953&view=diff
==============================================================================
--- spamassassin/trunk/t/basic_meta_net.t (original)
+++ spamassassin/trunk/t/basic_meta_net.t Wed Jun 15 22:45:51 2022
@@ -66,8 +66,10 @@ my $common_rules = q{
 
 tstlocalrules (qq{
    # Force DNS queries to fail/timeout
+   # 192.0.0.192 is a reserved address that won't immediately fail as unreachable
+   # and isn't likely to be allocated by IANA for some incompatible purpose
    rbl_timeout 2 1
-   dns_server 240.0.0.240
+   dns_server 192.0.0.192
 
    $common_rules
 
@@ -76,7 +78,7 @@ tstlocalrules (qq{
    meta X_LOCAL_NEG local_tests_only
 });
 
-sarun ("-t < data/spam/dnsbl.eml", \&patterns_run_cb);
+sarun ("-D dns -t < data/spam/dnsbl.eml", \&patterns_run_cb);
 ok_all_patterns();
 
 #