summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ExtUtils/t/arch_check.t7
-rw-r--r--lib/ExtUtils/t/pod2man.t7
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/ExtUtils/t/arch_check.t b/lib/ExtUtils/t/arch_check.t
index 3d62fe2ca3..a4fe88b0ba 100644
--- a/lib/ExtUtils/t/arch_check.t
+++ b/lib/ExtUtils/t/arch_check.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl -w
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir 't' if -d 't';
+ @INC = qw(../lib lib);
+ }
+}
+
use strict;
use lib 't/lib';
diff --git a/lib/ExtUtils/t/pod2man.t b/lib/ExtUtils/t/pod2man.t
index 1632234b15..fa533bdcf0 100644
--- a/lib/ExtUtils/t/pod2man.t
+++ b/lib/ExtUtils/t/pod2man.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl -w
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir 't' if -d 't';
+ @INC = qw(../lib);
+ }
+}
+
# Test our simulation of pod2man
use strict;