Testing: fix test (Broken in metabuilder)

This commit is contained in:
Shahram Najm 2021-07-14 19:39:26 +01:00
parent 4ddd53c0a0
commit 7a9a87f30a
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,8 @@ rm -f local.log
# Each number should appear in the table
g2lds=${ECCODES_DEFINITION_PATH}/grib2/local.98.*.def
for g2ld in $g2lds; do
dnum=`echo $g2ld | cut -d. -f3`
bname=`basename $g2ld`
dnum=`echo $bname | cut -d. -f3`
grep -q "^$dnum" ${ECCODES_DEFINITION_PATH}/grib2/grib2LocalSectionNumber.98.table
done