mirror of https://github.com/ecmwf/eccodes.git
Testing: extract offsets
This commit is contained in:
parent
393efa3b70
commit
557da6b2de
|
@ -48,5 +48,13 @@ set -e
|
||||||
[ $status -ne 0 ]
|
[ $status -ne 0 ]
|
||||||
grep -q "Wrong message length" $tempLog
|
grep -q "Wrong message length" $tempLog
|
||||||
|
|
||||||
|
set +e
|
||||||
|
$EXEC ${test_dir}/extract_offsets nonexistentfile > $tempLog 2>&1
|
||||||
|
status=$?
|
||||||
|
set -e
|
||||||
|
[ $status -ne 0 ]
|
||||||
|
grep -q "Unable to read file" $tempLog
|
||||||
|
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
rm -f $temp1 $temp2 $tempLog
|
rm -f $temp1 $temp2 $tempLog
|
||||||
|
|
Loading…
Reference in New Issue