[librrd-simple-perl] 01/03: Add patch to fix (autopkg)tests after removal of cwd from @INC.
gregor herrmann
gregoa at debian.org
Sat Sep 10 19:47:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository librrd-simple-perl.
commit 8b793f84ab783c39cf1a39685ae5de5b2efc0692
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Sep 10 21:31:54 2016 +0200
Add patch to fix (autopkg)tests after removal of cwd from @INC.
Closes: #837144
---
debian/patches/series | 1 +
debian/patches/test-no-cwd-in-inc | 41 +++++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 56b3da4..c30f677 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
rrd-test-nan
rrd-test-cdp-prep
doc-spelling
+test-no-cwd-in-inc
diff --git a/debian/patches/test-no-cwd-in-inc b/debian/patches/test-no-cwd-in-inc
new file mode 100644
index 0000000..3ef145f
--- /dev/null
+++ b/debian/patches/test-no-cwd-in-inc
@@ -0,0 +1,41 @@
+Description: Fix tests after removal of cwd from @INC
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/837144
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-09-10
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=117763
+Bug: https://rt.cpan.org/Ticket/Display.html?id=117763
+
+--- a/t/23graph.t
++++ b/t/23graph.t
+@@ -17,7 +17,7 @@
+ use RRD::Simple 1.35 ();
+
+ use vars qw($rra %retention_periods %scheme_graphs @schemes %graph_return);
+-require 'answers.pl';
++require './answers.pl';
+
+ ok(my $rrd = RRD::Simple->new(),'new');
+
+--- a/t/24retention_period.t
++++ b/t/24retention_period.t
+@@ -17,7 +17,7 @@
+ use RRD::Simple 1.35 ();
+
+ use vars qw($rra %retention_periods %scheme_graphs @schemes %graph_return);
+-require 'answers.pl';
++require './answers.pl';
+
+ ok(my $rrd = RRD::Simple->new(),'new');
+
+--- a/t/32exported_function_interface.t
++++ b/t/32exported_function_interface.t
+@@ -17,7 +17,7 @@
+ use RRD::Simple 1.35 qw(:all);
+
+ use vars qw($rra %retention_periods %scheme_graphs @schemes %graph_return);
+-require 'answers.pl';
++require './answers.pl';
+
+ ok(create($rrdfile,
+ bytesIn => 'GAUGE',
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/librrd-simple-perl.git
More information about the Pkg-perl-cvs-commits
mailing list