diff --git a/tests/grib_filter.sh b/tests/grib_filter.sh index e2e52bae5..e85d5727b 100755 --- a/tests/grib_filter.sh +++ b/tests/grib_filter.sh @@ -227,7 +227,7 @@ cat >$tempFilt < $tempOut -cat $tempOut + cat >$tempRef <$tempFilt < $tempOut +status=$? +set -e +[ $status -ne 0 ] +grep -q "ECCODES ERROR.*Number is too large" $tempOut + + # Clean up rm -f $tempGrib $tempFilt $tempOut $tempRef rm -f ${data_dir}/formatint.rules ${data_dir}/binop.rules