[libsms-aql-perl] 01/02: Add patch to disable a test which needs internet access.
gregor herrmann
gregoa at debian.org
Tue Aug 11 18:11:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libsms-aql-perl.
commit 2b740895e09b6af396bed4255049dec23dbe6d90
Author: gregor herrmann <gregoa at debian.org>
Date: Tue Aug 11 20:08:15 2015 +0200
Add patch to disable a test which needs internet access.
Unreported FTBFS bugs discovered by the reproducible build project.
---
debian/patches/disable-network.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/disable-network.patch b/debian/patches/disable-network.patch
new file mode 100644
index 0000000..71f6587
--- /dev/null
+++ b/debian/patches/disable-network.patch
@@ -0,0 +1,21 @@
+Description: skip tests which needs internet access
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-08-11
+
+--- a/t/1-basic.t
++++ b/t/1-basic.t
+@@ -25,9 +25,12 @@
+ ok(ref $sender eq 'SMS::AQL',
+ '$sender is an instance of SMS::AQL');
+
++SKIP: {
++skip "Test requires internet", 1 unless $ENV{USE_NETWORK};
+ my $balance = $sender->credit();
+
+ ok($balance =~ /^[0-9]+$/, 'got account balance');
++}
+
+
+ =begin
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3474513
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable-network.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsms-aql-perl.git
More information about the Pkg-perl-cvs-commits
mailing list