From: Gurusamy Sarathy Date: Tue, 21 Jul 1998 01:05:49 +0000 (+0000) Subject: do not override PERL_DESTRUCT_LEVEL if use has it set X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3fb91a5e46aea49ba3ce96c8d95ff739f2fc0307;p=p5sagit%2Fp5-mst-13.2.git do not override PERL_DESTRUCT_LEVEL if use has it set p4raw-id: //depot/perl@1586 --- diff --git a/t/TEST b/t/TEST index 05ee168..c1d1905 100755 --- a/t/TEST +++ b/t/TEST @@ -17,7 +17,9 @@ chdir 't' if -f 't/TEST'; die "You need to run \"make test\" first to set things up.\n" unless -e 'perl' or -e 'perl.exe'; -$ENV{PERL_DESTRUCT_LEVEL} = 2; # check leakage for embedders +# check leakage for embedders +$ENV{PERL_DESTRUCT_LEVEL} = 2 unless exists $ENV{PERL_DESTRUCT_LEVEL}; + $ENV{EMXSHELL} = 'sh'; # For OS/2 if ($#ARGV == -1) {