diff options
Diffstat (limited to 'cpan/Sys-Syslog')
-rw-r--r-- | cpan/Sys-Syslog/t/constants.t | 3 |
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); |