summaryrefslogtreecommitdiff
path: root/t/pod/find.t
diff options
context:
space:
mode:
Diffstat (limited to 't/pod/find.t')
-rw-r--r--t/pod/find.t8
1 files changed, 6 insertions, 2 deletions
diff --git a/t/pod/find.t b/t/pod/find.t
index bb6e9ba205..1bac930f56 100644
--- a/t/pod/find.t
+++ b/t/pod/find.t
@@ -2,8 +2,12 @@
# Author: Marek Rouchal <marek@saftsack.fs.uni-bayreuth.de>
BEGIN {
- chdir 't' if -d 't';
- @INC = '../lib';
+ chdir 't' if -d 't';
+ # The ../../../../../lib is for finding lib/utf8.pm
+ # when running under all-utf8 settings (pod/find.t)
+ # does not directly require lib/utf8.pm but regular
+ # expressions will need that.
+ @INC = qw(../lib ../../../../../lib);
}
$| = 1;