From: David Mitchell Date: Sat, 20 Feb 2010 16:02:58 +0000 (+0000) Subject: Sys-Syslog/t/constants.t couldn't find macros.all X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b5ffec61b15547ad2797c1dab817816a248f736a;p=p5sagit%2Fp5-mst-13.2.git Sys-Syslog/t/constants.t couldn't find macros.all The move from ext/ to cpan/ hadn't been reflected in the pathname of macros.all. However, since tests are now run from the src dir, the whole $ENV{PERL_CORE} bit is no longer necessary. (Note that this line has already been modified from the CPAN version, so a further change to it doesn't really matter as regards maintaining sync with CPAN). --- diff --git a/cpan/Sys-Syslog/t/constants.t b/cpan/Sys-Syslog/t/constants.t index 04fce81..5ebfe6d 100644 --- a/cpan/Sys-Syslog/t/constants.t +++ b/cpan/Sys-Syslog/t/constants.t @@ -4,8 +4,7 @@ use File::Spec; use Test::More; # NB. For PERL_CORE to be set, taint mode must not be enabled -my $macrosall = $ENV{PERL_CORE} ? File::Spec->catfile(qw(.. ext Sys-Syslog macros.all)) - : 'macros.all'; +my $macrosall = 'macros.all'; open(MACROS, $macrosall) or plan skip_all => "can't read '$macrosall': $!"; my @names = map {chomp;$_} ; close(MACROS);