projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b12b7f
)
Re: randomly untainting?
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Thu, 3 Jul 2003 17:35:09 +0000
(19:35 +0200)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 3 Jul 2003 18:56:26 +0000
(18:56 +0000)
Message-Id: <
20030703173509
.
0c007f0f
.rgarciasuarez@free.fr>
p4raw-id: //depot/perl@19964
t/TestInit.pm
patch
|
blob
|
history
diff --git
a/t/TestInit.pm
b/t/TestInit.pm
index
b90e150
..
d06f725
100644
(file)
--- 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;