From: Vincent Pit Date: Sat, 7 Feb 2009 13:48:06 +0000 (+0100) Subject: ext/Sys-Syslog/t/constants.t needs to find macros.all in the new place X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7fee2b4cbff01fe23cb8ddca87276ca9899b0fe3;p=p5sagit%2Fp5-mst-13.2.git ext/Sys-Syslog/t/constants.t needs to find macros.all in the new place --- diff --git a/ext/Sys-Syslog/t/constants.t b/ext/Sys-Syslog/t/constants.t index c2002fb..04fce81 100644 --- a/ext/Sys-Syslog/t/constants.t +++ b/ext/Sys-Syslog/t/constants.t @@ -4,7 +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)) +my $macrosall = $ENV{PERL_CORE} ? File::Spec->catfile(qw(.. ext Sys-Syslog macros.all)) : 'macros.all'; open(MACROS, $macrosall) or plan skip_all => "can't read '$macrosall': $!"; my @names = map {chomp;$_} ;