summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-07-01 23:05:21 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-08-14 17:49:28 -0700
commit8fece1a6a312fd37ff9b223a465879e996f626e2 (patch)
treea025d65f8c3d66b9d7adaa811381d659739b87ae /t
parente89fca5ea2782d3f6711ea8bea3581c10437ae62 (diff)
downloadperl-8fece1a6a312fd37ff9b223a465879e996f626e2.tar.gz
Allow test_bootstrap.t to run from the top level
Diffstat (limited to 't')
-rw-r--r--t/porting/test_bootstrap.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/porting/test_bootstrap.t b/t/porting/test_bootstrap.t
index d07e659dad..e59feaa956 100644
--- a/t/porting/test_bootstrap.t
+++ b/t/porting/test_bootstrap.t
@@ -7,7 +7,10 @@ use strict;
# This regression tests ensures that the rules aren't accidentally overlooked.
-require './test.pl';
+BEGIN {
+ chdir 't';
+ require './test.pl';
+}
plan('no_plan');