Testing: Fix error message

This commit is contained in:
Shahram Najm 2023-08-22 14:53:11 +01:00
parent 25bcc19d77
commit 2a667cef1b
1 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ ${tools_dir}/grib_get -p projString:i $grib2_sample > $tempText 2>&1
status=$?
set -e
[ $status -ne 0 ]
grep -q "ERROR.*Cannot unpack projTargetString as long" $tempText
grep -q "ERROR.*Cannot unpack.*projTargetString.* as long" $tempText
grep -q "Hint: Try unpacking as string" $tempText
set +e
@ -94,7 +94,7 @@ ${tools_dir}/grib_get -p projString:d $grib2_sample > $tempText 2>&1
status=$?
set -e
[ $status -ne 0 ]
grep -q "ERROR.*Cannot unpack projTargetString as double" $tempText
grep -q "ERROR.*Cannot unpack.*projTargetString.* as double" $tempText
grep -q "Hint: Try unpacking as string" $tempText