Testing: environment variables

This commit is contained in:
Shahram Najm 2023-08-22 20:18:53 +01:00
parent 945413a2c7
commit b67defba92
1 changed files with 10 additions and 0 deletions

View File

@ -39,6 +39,16 @@ export GRIB_DEFINITION_PATH=/tmp/dtest
export GRIB_SAMPLES_PATH=/tmp/stest
${tools_dir}/codes_info > $tempLog
grep -q "This is for backward compatibility" $tempLog
unset GRIB_DEFINITION_PATH
unset GRIB_SAMPLES_PATH
# Obscure environment variables
export _ECCODES_ECMWF_TEST_DEFINITION_PATH=abc
export _ECCODES_ECMWF_TEST_SAMPLES_PATH=def
ECCODES_DEBUG=1 ${tools_dir}/codes_info
unset _ECCODES_ECMWF_TEST_DEFINITION_PATH
unset _ECCODES_ECMWF_TEST_SAMPLES_PATH
# Clean up
rm -f $tempLog