summaryrefslogtreecommitdiff
path: root/cpan/Sys-Syslog
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2010-02-20 16:02:58 +0000
committerDavid Mitchell <davem@iabyn.com>2010-02-21 23:39:03 +0000
commitb5ffec61b15547ad2797c1dab817816a248f736a (patch)
treedec5e6db3fa728cff3118ca31aeb52b0cb04504a /cpan/Sys-Syslog
parente8c01f9236ea4602ba3a3ae8c20a55bda36d89a2 (diff)
downloadperl-b5ffec61b15547ad2797c1dab817816a248f736a.tar.gz
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).
Diffstat (limited to 'cpan/Sys-Syslog')
-rw-r--r--cpan/Sys-Syslog/t/constants.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpan/Sys-Syslog/t/constants.t b/cpan/Sys-Syslog/t/constants.t
index 04fce81587..5ebfe6d3d9 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;$_} <MACROS>;
close(MACROS);