ECC-1620: Grep for whole error message

This commit is contained in:
Eugen Betke 2023-10-12 22:23:17 +00:00
parent e0cd0dc793
commit d21f76ced7
1 changed files with 1 additions and 2 deletions

View File

@ -223,8 +223,7 @@ ${tools_dir}/grib_set -s stepUnits=d $input $outfile > $temp 2>&1
status=$?
set -e
[ $status -ne 0 ]
grep -q "Invalid argument" $temp
#grep -q "stepUnits: No such code table entry.*Did you mean" $temp
grep -q "Invalid unit:.*(Unit not found). Available units are:.*" $temp
# ------------------------
# Unreadable message