svn commit: r1928242 - spamassassin/trunk/t
| Newsgroups | gmane.mail.spam.spamassassin.cvs |
|---|---|
| Message-ID | <175705893053.4016387.14623849166451758974@svn02-us-east.apache.org> |
Author: gbechis
Date: Fri Sep 5 07:55:30 2025
New Revision: 1928242
Log:
uri_list test requires network access
Modified:
spamassassin/trunk/t/uri_list.t
Modified: spamassassin/trunk/t/uri_list.t
==============================================================================
--- spamassassin/trunk/t/uri_list.t Fri Sep 5 07:27:11 2025 (r1928241)
+++ spamassassin/trunk/t/uri_list.t Fri Sep 5 07:55:30 2025 (r1928242)
@@ -4,13 +4,18 @@
# The real root cause is obscure, so we test for the bug not the Perl version.
use strict;
+use warnings;
+
use lib '.'; use lib 't';
use SATest; sa_t_init("uri_list");
-use Test::More tests=> 12;
use Mail::SpamAssassin::Util;
-use warnings;
use Cwd;
+use Test::More;
+plan skip_all => "Net tests disabled" unless conf_bool('run_net_tests');
+plan skip_all => "Can't use Net::DNS Safely" unless can_use_net_dns_safely();
+plan tests=> 12;
+
my $twoplus = <<'EOT';
Message-ID: <[email protected]>
Date: Mon, 07 Oct 2002 09:00:00 +0000