From bf2d71498c12ee09b6c9fe63a337c306442fd7f6 Mon Sep 17 00:00:00 2001 From: Dmitry Goncharov Date: Sat, 8 Oct 2022 11:53:19 -0400 Subject: [PATCH] * tests/test_driver.pl (toplevel): [SV 63156] Keep temp env vars --- tests/test_driver.pl | 6 +++--- 1 file 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"; -- 2.47.3