From b5ffec61b15547ad2797c1dab817816a248f736a Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Sat, 20 Feb 2010 16:02:58 +0000 Subject: [PATCH] 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). --- cpan/Sys-Syslog/t/constants.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.7.4