You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by gb...@apache.org on 2018/07/27 18:03:13 UTC
svn commit: r1836855 - in /spamassassin: branches/3.4/t/relaycountry_fast.t
branches/3.4/t/relaycountry_geoip.t trunk/t/relaycountry_fast.t
trunk/t/relaycountry_geoip.t
Author: gbechis
Date: Fri Jul 27 18:03:13 2018
New Revision: 1836855
URL: http://svn.apache.org/viewvc?rev=1836855&view=rev
Log:
improve tests
Modified:
spamassassin/branches/3.4/t/relaycountry_fast.t
spamassassin/branches/3.4/t/relaycountry_geoip.t
spamassassin/trunk/t/relaycountry_fast.t
spamassassin/trunk/t/relaycountry_geoip.t
Modified: spamassassin/branches/3.4/t/relaycountry_fast.t
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.4/t/relaycountry_fast.t?rev=1836855&r1=1836854&r2=1836855&view=diff
==============================================================================
--- spamassassin/branches/3.4/t/relaycountry_fast.t (original)
+++ spamassassin/branches/3.4/t/relaycountry_fast.t Fri Jul 27 18:03:13 2018
@@ -19,7 +19,7 @@ use constant HAS_COUNTRY_FAST => eval {
use Test::More;
plan skip_all => "IP::Country::Fast not installed" unless HAS_COUNTRY_FAST;
-plan tests => 1;
+plan tests => 2;
# ---------------------------------------------------------------------------
@@ -39,3 +39,4 @@ tstprefs ("
);
ok sarun ("-t < data/spam/relayUS.eml", \&patterns_run_cb);
+ok_all_patterns();
Modified: spamassassin/branches/3.4/t/relaycountry_geoip.t
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.4/t/relaycountry_geoip.t?rev=1836855&r1=1836854&r2=1836855&view=diff
==============================================================================
--- spamassassin/branches/3.4/t/relaycountry_geoip.t (original)
+++ spamassassin/branches/3.4/t/relaycountry_geoip.t Fri Jul 27 18:03:13 2018
@@ -19,7 +19,7 @@ use constant HAS_GEOIP => eval { require
use Test::More;
plan skip_all => "Geo::IP not installed" unless HAS_GEOIP;
-plan tests => 1;
+plan tests => 2;
# ---------------------------------------------------------------------------
@@ -39,3 +39,4 @@ tstprefs ("
);
ok sarun ("-t < data/spam/relayUS.eml", \&patterns_run_cb);
+ok_all_patterns();
Modified: spamassassin/trunk/t/relaycountry_fast.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/relaycountry_fast.t?rev=1836855&r1=1836854&r2=1836855&view=diff
==============================================================================
--- spamassassin/trunk/t/relaycountry_fast.t (original)
+++ spamassassin/trunk/t/relaycountry_fast.t Fri Jul 27 18:03:13 2018
@@ -19,7 +19,7 @@ use constant HAS_COUNTRY_FAST => eval {
use Test::More;
plan skip_all => "IP::Country::Fast not installed" unless HAS_COUNTRY_FAST;
-plan tests => 1;
+plan tests => 2;
# ---------------------------------------------------------------------------
@@ -39,3 +39,4 @@ tstprefs ("
);
ok sarun ("-t < data/spam/relayUS.eml", \&patterns_run_cb);
+ok_all_patterns();
Modified: spamassassin/trunk/t/relaycountry_geoip.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/relaycountry_geoip.t?rev=1836855&r1=1836854&r2=1836855&view=diff
==============================================================================
--- spamassassin/trunk/t/relaycountry_geoip.t (original)
+++ spamassassin/trunk/t/relaycountry_geoip.t Fri Jul 27 18:03:13 2018
@@ -19,7 +19,7 @@ use constant HAS_GEOIP => eval { require
use Test::More;
plan skip_all => "Geo::IP not installed" unless HAS_GEOIP;
-plan tests => 1;
+plan tests => 2;
# ---------------------------------------------------------------------------
@@ -39,3 +39,4 @@ tstprefs ("
);
ok sarun ("-t < data/spam/relayUS.eml", \&patterns_run_cb);
+ok_all_patterns();