File: 0001-Make-the-test-suite-work-without-cwd-in-INC.patch

package info (click to toggle)
libpod-index-perl 0.14-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 160 kB
  • ctags: 32
  • sloc: perl: 419; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 662 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 5e0fd1753f8e788f92069fe8f26c087638593e3d Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@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