From: Jesse Vincent Date: Sun, 2 Aug 2009 15:17:08 +0000 (+0100) Subject: Clean up the new maintainers.t to be a bit more sensible about paths X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=942d1a9e301c239cf22ff455ba4b76c52fa8ec85;p=p5sagit%2Fp5-mst-13.2.git Clean up the new maintainers.t to be a bit more sensible about paths The previous version of the invocation ignore the fact that we chdir, more libs might be required. --- diff --git a/t/lib/maintainers.t b/t/lib/maintainers.t index 6948136..4a6ed26 100644 --- a/t/lib/maintainers.t +++ b/t/lib/maintainers.t @@ -2,18 +2,21 @@ # Test that there are no missing Maintainers in Maintainers.PL - BEGIN { - chdir 't' if -d 't'; - @INC = qw(../lib ../Porting); + # This test script uses a slightly atypical invocation of the 'standard' + # core testing setup stanza. + # The existing porting tools which manage the Maintainers file all + # expect to be run from the root + # XXX that should be fixed + + chdir '..' unless -d 't'; + @INC = qw(lib Porting); } use strict; use warnings; use Maintainers qw(show_results process_options finish_tap_output); -chdir(".."); # The existing porting tools all expect to be run from the root -# XXX that should be fixed { local @ARGV = qw|--tap-output --checkmani|;