Change 19964 by [EMAIL PROTECTED] on 2003/07/03 18:56:26
Subject: Re: randomly untainting?
From: Rafael Garcia-Suarez <[EMAIL PROTECTED]>
Date: Thu, 3 Jul 2003 17:35:09 +0200
Message-Id: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/t/TestInit.pm#7 edit
Differences ...
==== //depot/perl/t/TestInit.pm#7 (text) ====
Index: perl/t/TestInit.pm
--- perl/t/TestInit.pm#6~17862~ Sun Sep 8 07:01:07 2002
+++ perl/t/TestInit.pm Thu Jul 3 11:56:26 2003
@@ -17,7 +17,10 @@
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;
End of Patch.