[libwww-shorten-github-perl] 03/03: add patch to skip network tests
dod at debian.org
dod at debian.org
Sun Nov 13 16:23:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository libwww-shorten-github-perl.
commit ff11ffd215fd9d4e5e4b1459d1b1529485cb56d3
Author: Dominique Dumont <dod at debian.org>
Date: Sun Nov 13 17:21:35 2016 +0100
add patch to skip network tests
---
debian/patches/series | 1 +
debian/patches/skip-network-tests | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1870f79
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+skip-network-tests
diff --git a/debian/patches/skip-network-tests b/debian/patches/skip-network-tests
new file mode 100644
index 0000000..ecce127
--- /dev/null
+++ b/debian/patches/skip-network-tests
@@ -0,0 +1,21 @@
+Description: Skip network tests
+ Skip tests that use network, which is forbidden
+ by Debian policy.
+Author: dod
+Applied-Upstream: NA
+--- a/t/002_shorten.t
++++ b/t/002_shorten.t
+@@ -1,4 +1,4 @@
+-use Test::More tests => 1;
++use Test::More skip_all => "cannot use network during tests";
+
+ use strict;
+ use warnings;
+--- a/t/003_lengthen.t
++++ b/t/003_lengthen.t
+@@ -1,4 +1,4 @@
+-use Test::More tests => 2;
++use Test::More skip_all => "cannot use network during tests";
+
+ use strict;
+ use warnings;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libwww-shorten-github-perl.git
More information about the Pkg-perl-cvs-commits
mailing list