* tests/test_driver.pl (toplevel): [SV 63156] Keep temp env vars

This commit is contained in:
Dmitry Goncharov 2022-10-08 11:53:19 -04:00 committed by Paul Smith
parent 3e20e376b7
commit bf2d71498c

View File

@ -219,9 +219,6 @@ sub toplevel
$makeENV{LANG} = 'C';
$makeENV{LANGUAGE} = 'C';
# Replace the environment with the new one
resetENV();
$| = 1; # unbuffered output
$debug = 0; # debug flag
@ -271,6 +268,9 @@ sub toplevel
$makeENV{TMP} = $temppath;
$makeENV{TEMP} = $temppath;
# Replace the environment with the new one
resetENV();
$workpath = "$cwdslash$workdir";
$scriptpath = "$cwdslash$scriptdir";