This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Let while.t run from the top level
[perl5.git] / t / cmd / while.t
index 5107fe2..5d2af71 100644 (file)
@@ -1,6 +1,7 @@
 #!./perl
 
 BEGIN {
 #!./perl
 
 BEGIN {
+    chdir 't';
     require "test.pl";
 }
 
     require "test.pl";
 }