mirror of https://github.com/ecmwf/eccodes.git
Testing: environment variables
This commit is contained in:
parent
945413a2c7
commit
b67defba92
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue