This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get chdir.t working under minitest
authorFather Chrysostomos <sprout@cpan.org>
Mon, 1 Sep 2014 05:10:00 +0000 (22:10 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 3 Sep 2014 03:11:14 +0000 (20:11 -0700)
minitest can run before everything is built.

chdir.t used to take that into account, but was not updated when dist/Cwd/
was renamed.

t/op/chdir.t

index 2c6535b..bb22818 100644 (file)
@@ -9,7 +9,8 @@ BEGIN {
     # Really want to know if chdir is working, as the build process will all go
     # wrong if it is not.
     if (is_miniperl() && !eval {require File::Spec::Functions; 1}) {
-       push @INC, qw(dist/Cwd/lib dist/Cwd ../dist/Cwd/lib ../dist/Cwd);
+       push @INC, qw(dist/PathTools/lib    dist/PathTools
+                  ../dist/PathTools/lib ../dist/PathTools);
     }
     plan(tests => 48);
 }