diff options
author | Dmitry Goncharov <dgoncharov@users.sf.net> | 2022-10-08 11:53:19 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2022-10-08 11:53:19 -0400 |
commit | bf2d71498c12ee09b6c9fe63a337c306442fd7f6 (patch) | |
tree | 0532dbeb824adbcac381d8af9a49f48c78876c4c /tests | |
parent | 3e20e376b7aa26fa43f81f23323c717c4cae1bfb (diff) | |
download | make-git-bf2d71498c12ee09b6c9fe63a337c306442fd7f6.tar.gz |
* tests/test_driver.pl (toplevel): [SV 63156] Keep temp env vars
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_driver.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_driver.pl b/tests/test_driver.pl index 2beb7c99..18ee854d 100644 --- a/tests/test_driver.pl +++ b/tests/test_driver.pl @@ -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"; |