This is an automated email from the git hooks/post-receive script. ntyni pushed a commit to branch master in repository liblog-agent-perl.
commit 2f69b88659f43ec84b9efdf70ee0246965ca1c14 Author: Niko Tyni <nt...@debian.org> Date: Sat Sep 17 16:04:48 2016 +0300 Patch the test suite to work without cwd in @INC Closes: #837141 --- ...ke-the-test-suite-work-without-cwd-in-INC.patch | 189 +++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 190 insertions(+) diff --git a/debian/patches/0001-Make-the-test-suite-work-without-cwd-in-INC.patch b/debian/patches/0001-Make-the-test-suite-work-without-cwd-in-INC.patch new file mode 100644 index 0000000..db3b598 --- /dev/null +++ b/debian/patches/0001-Make-the-test-suite-work-without-cwd-in-INC.patch @@ -0,0 +1,189 @@ +From 837ecfee1f1e6a5ed75e104903c8b45cdd9fb8fc Mon Sep 17 00:00:00 2001 +From: Niko Tyni <nt...@debian.org> +Date: Sat, 17 Sep 2016 16:04:48 +0300 +Subject: [PATCH] Make the test suite work without cwd in @INC + +Bug-Debian: https://bugs.debian.org/837141 +--- + t/caller.t | 2 +- + t/carp.pl | 4 ++-- + t/carp_default.t | 2 +- + t/carp_file.t | 2 +- + t/carp_fork.t | 2 +- + t/carp_silent.t | 2 +- + t/default.t | 2 +- + t/default_exp.t | 2 +- + t/file.t | 2 +- + t/fork.t | 2 +- + t/priority.t | 2 +- + t/tag_callback.t | 2 +- + t/tag_string.t | 2 +- + 13 files changed, 14 insertions(+), 14 deletions(-) + +diff --git a/t/caller.t b/t/caller.t +index 6a14aa6..feb3c2c 100644 +--- a/t/caller.t ++++ b/t/caller.t +@@ -14,7 +14,7 @@ + + print "1..10\n"; + +-require 't/code.pl'; ++require './t/code.pl'; + sub ok; + + use Log::Agent; +diff --git a/t/carp.pl b/t/carp.pl +index a4327e1..352f7d6 100644 +--- a/t/carp.pl ++++ b/t/carp.pl +@@ -14,10 +14,10 @@ + + print "1..11\n"; + +-require 't/code.pl'; ++require './t/code.pl'; + sub ok; + +-my $FILE = "t/carp.pl"; ++my $FILE = "./t/carp.pl"; + + package OTHER; + use Log::Agent; +diff --git a/t/carp_default.t b/t/carp_default.t +index 293ddb7..819e438 100644 +--- a/t/carp_default.t ++++ b/t/carp_default.t +@@ -20,4 +20,4 @@ select(ORIG_STDOUT); + open(STDOUT, ">t/file.out") || die "can't redirect STDOUT: $!\n"; + open(STDERR, ">t/file.err") || die "can't redirect STDOUT: $!\n"; + +-do 't/carp.pl'; ++do './t/carp.pl'; +diff --git a/t/carp_file.t b/t/carp_file.t +index 9e5e9a3..8239d62 100644 +--- a/t/carp_file.t ++++ b/t/carp_file.t +@@ -27,4 +27,4 @@ my $driver = Log::Agent::Driver::File->make( + ); + logconfig(-driver => $driver); + +-do 't/carp.pl'; ++do './t/carp.pl'; +diff --git a/t/carp_fork.t b/t/carp_fork.t +index c81a86b..dcf8131 100644 +--- a/t/carp_fork.t ++++ b/t/carp_fork.t +@@ -29,4 +29,4 @@ my $driver = Log::Agent::Driver::Fork->make( + ); + logconfig(-driver => $driver); + +-do 't/carp.pl'; ++do './t/carp.pl'; +diff --git a/t/carp_silent.t b/t/carp_silent.t +index 6c7c8ca..c913308 100644 +--- a/t/carp_silent.t ++++ b/t/carp_silent.t +@@ -14,7 +14,7 @@ + + print "1..2\n"; + +-require 't/code.pl'; ++require './t/code.pl'; + sub ok; + + use Log::Agent; +diff --git a/t/default.t b/t/default.t +index eadca93..73bab3a 100644 +--- a/t/default.t ++++ b/t/default.t +@@ -14,7 +14,7 @@ + + print "1..4\n"; + +-require 't/code.pl'; ++require './t/code.pl'; + sub ok; + + use Log::Agent; +diff --git a/t/default_exp.t b/t/default_exp.t +index 5fc95b7..940e1eb 100644 +--- a/t/default_exp.t ++++ b/t/default_exp.t +@@ -19,7 +19,7 @@ + + print "1..8\n"; + +-require 't/code.pl'; ++require './t/code.pl'; + sub ok; + + use Log::Agent; +diff --git a/t/file.t b/t/file.t +index 57caaba..e7487ee 100644 +--- a/t/file.t ++++ b/t/file.t +@@ -15,7 +15,7 @@ + use Test::More; + use Log::Agent; + require Log::Agent::Driver::File; +-require 't/common.pl'; ++require './t/common.pl'; + + BEGIN { plan tests => 38 } + +diff --git a/t/fork.t b/t/fork.t +index a943a89..5726ba2 100644 +--- a/t/fork.t ++++ b/t/fork.t +@@ -14,7 +14,7 @@ + + use strict; + use Test; +-require 't/common.pl'; ++require './t/common.pl'; + + BEGIN { plan tests => 19 } + +diff --git a/t/priority.t b/t/priority.t +index 3e5be89..3f6b2c4 100644 +--- a/t/priority.t ++++ b/t/priority.t +@@ -14,7 +14,7 @@ + + print "1..5\n"; + +-require 't/code.pl'; ++require './t/code.pl'; + sub ok; + + use Log::Agent; +diff --git a/t/tag_callback.t b/t/tag_callback.t +index 64a1bd4..39b749d 100644 +--- a/t/tag_callback.t ++++ b/t/tag_callback.t +@@ -12,7 +12,7 @@ + # + ########################################################################## + +-require 't/code.pl'; ++require './t/code.pl'; + sub ok; + + eval "require Callback"; +diff --git a/t/tag_string.t b/t/tag_string.t +index 843fc10..b4851c2 100644 +--- a/t/tag_string.t ++++ b/t/tag_string.t +@@ -14,7 +14,7 @@ + + print "1..2\n"; + +-require 't/code.pl'; ++require './t/code.pl'; + sub ok; + + use Log::Agent; +-- +2.9.3 + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..90a9b88 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Make-the-test-suite-work-without-cwd-in-INC.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblog-agent-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits