From: Rafael Garcia-Suarez Date: Tue, 31 Oct 2006 16:28:33 +0000 (+0000) Subject: Don't run ext/Sys/Syslog/t/constants.t with taint mode, so it's X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a8a2757492ad782cc3d50ec2192d07c91c4d6336;p=p5sagit%2Fp5-mst-13.2.git Don't run ext/Sys/Syslog/t/constants.t with taint mode, so it's not systematically skipped p4raw-id: //depot/perl@29176 --- diff --git a/ext/Sys/Syslog/t/constants.t b/ext/Sys/Syslog/t/constants.t index b5d4ecb..b484295 100644 --- a/ext/Sys/Syslog/t/constants.t +++ b/ext/Sys/Syslog/t/constants.t @@ -1,8 +1,9 @@ -#!/usr/bin/perl -T +#!/usr/bin/perl use strict; 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'; open(MACROS, $macrosall) or plan skip_all => "can't read '$macrosall': $!";