diff --git a/tests/codes_info.sh b/tests/codes_info.sh index 2c89ae6bc..189dfd20a 100755 --- a/tests/codes_info.sh +++ b/tests/codes_info.sh @@ -29,6 +29,16 @@ status=$? set -e [ $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 rm -f $tempLog