mirror of https://github.com/ecmwf/eccodes.git
ECC-1247: test
This commit is contained in:
parent
8ba5a104ab
commit
352d8ca27d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue