This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch master
in repository libcarp-datum-perl.

commit 8b3fb685e4e1355e1a6e5da3c8f1c47996878d12
Author: Niko Tyni <nt...@debian.org>
Date:   Sat Sep 17 11:43:46 2016 +0300

    Patch the test suite work without cwd in @INC
    
    Closes: #836883
---
 ...ke-the-test-suite-work-without-cwd-in-INC.patch | 93 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 94 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..89bc485
--- /dev/null
+++ b/debian/patches/0001-Make-the-test-suite-work-without-cwd-in-INC.patch
@@ -0,0 +1,93 @@
+From 74714b2f765320afa8fa96a977dee1dcbcebe7e0 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <nt...@debian.org>
+Date: Sat, 17 Sep 2016 11:43:46 +0300
+Subject: [PATCH] Make the test suite work without cwd in @INC
+
+t/basic_on.t is handled differently because it's matching
+the path to test.pl in test 3.
+
+Bug-Debian: https://bugs.debian.org/836883
+---
+ t/basic_dflt.t | 4 ++--
+ t/basic_off.t  | 4 ++--
+ t/basic_on.t   | 2 ++
+ t/trace_off.t  | 4 ++--
+ t/trace_on.t   | 4 ++--
+ 5 files changed, 10 insertions(+), 8 deletions(-)
+
+diff --git a/t/basic_dflt.t b/t/basic_dflt.t
+index 47e0c99..f04b89a 100644
+--- a/t/basic_dflt.t
++++ b/t/basic_dflt.t
+@@ -16,8 +16,8 @@
+ 
+ print "1..2\n";
+ 
+-require 't/test.pl';
+-require 't/code.pl';
++require './t/test.pl';
++require './t/code.pl';
+ sub ok;
+ 
+ use Carp::Datum;
+diff --git a/t/basic_off.t b/t/basic_off.t
+index 597ad7e..d40fe66 100644
+--- a/t/basic_off.t
++++ b/t/basic_off.t
+@@ -16,8 +16,8 @@
+ 
+ print "1..2\n";
+ 
+-require 't/test.pl';
+-require 't/code.pl';
++require './t/test.pl';
++require './t/code.pl';
+ sub ok;
+ 
+ use Carp::Datum qw(:all off);
+diff --git a/t/basic_on.t b/t/basic_on.t
+index d5e4e2b..0ebb2cb 100644
+--- a/t/basic_on.t
++++ b/t/basic_on.t
+@@ -14,6 +14,8 @@
+ # $EndLog$
+ #
+ 
++unshift @INC, '.';
++
+ print "1..5\n";
+ 
+ require 't/test.pl';
+diff --git a/t/trace_off.t b/t/trace_off.t
+index e65d1ee..6547e8d 100644
+--- a/t/trace_off.t
++++ b/t/trace_off.t
+@@ -16,8 +16,8 @@
+ 
+ print "1..4\n";
+ 
+-require 't/test.pl';
+-require 't/code.pl';
++require './t/test.pl';
++require './t/code.pl';
+ sub ok;
+ 
+ use Carp::Datum qw(:all off);
+diff --git a/t/trace_on.t b/t/trace_on.t
+index 19b88da..7d87bae 100644
+--- a/t/trace_on.t
++++ b/t/trace_on.t
+@@ -16,8 +16,8 @@
+ 
+ print "1..5\n";
+ 
+-require 't/test.pl';
+-require 't/code.pl';
++require './t/test.pl';
++require './t/code.pl';
+ sub ok;
+ 
+ use Carp::Datum qw(:all on);
+-- 
+2.9.3
+
diff --git a/debian/patches/series b/debian/patches/series
index 8e3eab7..f1f0ae2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 pod-fixes
 definded-hash.patch
 spelling.patch
+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/libcarp-datum-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

Reply via email to