From: Rafael Garcia-Suarez Date: Thu, 3 Jul 2003 17:35:09 +0000 (+0200) Subject: Re: randomly untainting? X-Git-Tag: accepted/trunk/20130322.191538~23853 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a19106168e3a7e2ab288aa73118f8efee5d56e2b;p=platform%2Fupstream%2Fperl.git Re: randomly untainting? Message-Id: <20030703173509.0c007f0f.rgarciasuarez@free.fr> p4raw-id: //depot/perl@19964 --- diff --git a/t/TestInit.pm b/t/TestInit.pm index b90e150..d06f725 100644 --- a/t/TestInit.pm +++ b/t/TestInit.pm @@ -17,7 +17,10 @@ package TestInit; chdir 't' if -d 't'; @INC = '../lib'; -$ENV{PERL_CORE} = 1; + +# Don't interfere with the taintedness of %ENV, this could perturbate tests +$ENV{PERL_CORE} = 1 unless ${^TAINT}; + $0 =~ s/\.dp$//; # for the test.deparse make target 1;