mirror of https://github.com/ecmwf/eccodes.git
Testing: codes_info
This commit is contained in:
parent
c1c9f5bb12
commit
bd82bc099a
|
@ -29,6 +29,16 @@ status=$?
|
||||||
set -e
|
set -e
|
||||||
[ $status -eq 1 ]
|
[ $status -eq 1 ]
|
||||||
|
|
||||||
|
# Verbose debug output
|
||||||
|
ECCODES_DEBUG=1 ${tools_dir}/codes_info
|
||||||
|
|
||||||
|
# Test legacy environment variables
|
||||||
|
unset ECCODES_DEFINITION_PATH
|
||||||
|
unset ECCODES_SAMPLES_PATH
|
||||||
|
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
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
rm -f $tempLog
|
rm -f $tempLog
|
||||||
|
|
Loading…
Reference in New Issue