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";