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 26 27 28 29 30
|
From 79ec7c821309249c1f2ba0a077c55e3a45e7974c Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Sat, 17 Sep 2016 14:00:17 +0300
Subject: [PATCH] Make the test suite work without cwd in @INC
Many of the reference result files contain file names relative to cwd.
While this is a minimal fix, it would possibly be cleaner to do all
@INC manipulation in the numerous test files themselves.
Bug-Debian: https://bugs.debian.org/837135
---
t/lib/NYTProfTest.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/t/lib/NYTProfTest.pm b/t/lib/NYTProfTest.pm
index 9c29627..e8bd303 100644
--- a/t/lib/NYTProfTest.pm
+++ b/t/lib/NYTProfTest.pm
@@ -1,5 +1,7 @@
package NYTProfTest;
+unshift @INC, '.';
+
use strict;
use warnings;
--
2.9.3
|