[libpod-index-perl] 02/05: Patch the test suite to work without cwd in @INC

Niko Tyni ntyni at moszumanska.debian.org
Sun Sep 18 19:49:27 UTC 2016


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

ntyni pushed a commit to branch master
in repository libpod-index-perl.

commit 20fb894b102a2cffb7a3fddb0394fb6ac09c9281
Author: Niko Tyni <ntyni at debian.org>
Date:   Sun Sep 18 22:31:38 2016 +0300

    Patch the test suite to work without cwd in @INC
    
    Closes: #837139
---
 ...ke-the-test-suite-work-without-cwd-in-INC.patch | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 26 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..797dd1d
--- /dev/null
+++ b/debian/patches/0001-Make-the-test-suite-work-without-cwd-in-INC.patch
@@ -0,0 +1,25 @@
+From 5e0fd1753f8e788f92069fe8f26c087638593e3d Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Sun, 18 Sep 2016 22:31:38 +0300
+Subject: [PATCH] Make the test suite work without cwd in @INC
+
+Bug-Debian: https://bugs.debian.org/837139
+---
+ t/Search.t | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/t/Search.t b/t/Search.t
+index 7b4264c..64227e8 100644
+--- a/t/Search.t
++++ b/t/Search.t
+@@ -2,6 +2,7 @@ use strict;
+ use warnings;
+ use Test::More;
+ 
++unshift @INC, '.';
+ # preamble to make it work portably regardless of where the test is run
+ use File::Spec::Functions;
+ my ($volume, $dirstring, $file) = File::Spec->splitpath($0);
+-- 
+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/libpod-index-perl.git



More information about the Pkg-perl-cvs-commits mailing list