mirror of https://github.com/ecmwf/eccodes.git
ECC-1620: Grep for whole error message
This commit is contained in:
parent
e0cd0dc793
commit
d21f76ced7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue