ECC-1247: test

This commit is contained in:
Shahram Najm 2021-05-27 17:24:53 +01:00
parent 8ba5a104ab
commit 352d8ca27d
1 changed files with 9 additions and 1 deletions

View File

@ -11,7 +11,7 @@
. ./include.sh
label="grib_dump_debug"
temp=temp.$label.txt
set -u
REDIRECT=/dev/null
if [ $HAVE_MEMFS -eq 1 ]; then
@ -94,4 +94,12 @@ for file in $files; do
fi
done
# ECC-1247: indicate which keys can have values which are 'missing'
# ------------------------------------------------------------------
infile=${data_dir}/sample.grib2
${tools_dir}/grib_dump -D $infile > $temp
grep -q "unsigned hoursAfterDataCutoff = 0 (can be missing)" $temp
grep -q "unsigned iDirectionIncrement = 2000000 (can be missing)" $temp
rm -f $temp