[libwww-shorten-perl] 07/08: Update network_tests.patch.
gregor herrmann
gregoa at debian.org
Sat May 10 15:12:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libwww-shorten-perl.
commit bdeca47ea065f96c2842136e6d22de031336cba2
Author: gregor herrmann <gregoa at debian.org>
Date: Sat May 10 17:10:10 2014 +0200
Update network_tests.patch.
---
debian/patches/network_tests.patch | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/debian/patches/network_tests.patch b/debian/patches/network_tests.patch
index a814388..9e4491a 100644
--- a/debian/patches/network_tests.patch
+++ b/debian/patches/network_tests.patch
@@ -1,7 +1,9 @@
-Author: Nicholas Bamber <nicholas at periapt.co.uk>
Subject: skipping tests that depend on the netork
Forwarded: not-needed
-Last-Update: 2013-08-24
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-05-10
+
--- a/t/metamark.t
+++ b/t/metamark.t
@@ -2,6 +2,9 @@
@@ -22,19 +24,17 @@ Last-Update: 2013-08-24
+}
--- a/t/tinyurl.t
+++ b/t/tinyurl.t
-@@ -2,6 +2,11 @@
+@@ -2,6 +2,9 @@
BEGIN { use_ok WWW::Shorten::TinyURL };
+SKIP: {
+ skip 'network testing turned off by default', 5 if not $ENV{NETWORK_TESTING};
+
-+my $url = 'http://dave.org.uk/';
-+
- my $url = 'http://search.cpan.org/dist/WWW-Shorten/';
+ my $url = 'https://metacpan.org/release/WWW-Shorten';
my $return = makeashorterlink($url);
my ($code) = $return =~ /(\w+)$/;
-@@ -14,3 +19,5 @@
+@@ -17,3 +20,5 @@
ok($@, 'makeashorterlink fails with no args');
eval { makealongerlink() };
ok($@, 'makealongerlink fails with no args');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libwww-shorten-perl.git
More information about the Pkg-perl-cvs-commits
mailing list