/[Apache-SVN]/spamassassin/trunk/t/whitelist_addrs.t
ViewVC logotype

Diff of /spamassassin/trunk/t/whitelist_addrs.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- spamassassin/trunk/t/whitelist_addrs.t	2005/05/19 07:26:16	170888
+++ spamassassin/trunk/t/whitelist_addrs.t	2005/05/19 07:33:25	170889
@@ -3,10 +3,7 @@
 use lib '.'; use lib 't';
 use SATest; sa_t_init("whitelist_addrs");
 
-use constant HAS_DB_FILE => eval { require DB_File; };
-
-use Test; BEGIN { plan tests => (HAS_DB_FILE ? 5 : 0); };
-exit unless HAS_DB_FILE;
+use Test; BEGIN { plan tests => 5; }
 
 # ---------------------------------------------------------------------------
 
@@ -40,4 +37,3 @@ sarun ("--add-addr-to-blacklist whitelis
 sarun ("-L < data/nice/002", \&patterns_run_cb);
 ok_all_patterns();
 
-

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26