mirror of https://github.com/ecmwf/eccodes.git
Testing: Increase coverage
This commit is contained in:
parent
5c135b6b30
commit
3f1347afc8
|
@ -183,6 +183,20 @@ ${tools_dir}/bufr_set -s messageLength:s=333 $ECCODES_SAMPLES_PATH/BUFR4_local.t
|
||||||
result=`${tools_dir}/bufr_get -p messageLength $fBufrTmp`
|
result=`${tools_dir}/bufr_get -p messageLength $fBufrTmp`
|
||||||
[ "$result" = "333" ]
|
[ "$result" = "333" ]
|
||||||
|
|
||||||
|
|
||||||
|
#-----------------------------------------------------------
|
||||||
|
# Invalid masterTablesVersionNumber
|
||||||
|
#-----------------------------------------------------------
|
||||||
|
${tools_dir}/bufr_set -s masterTablesVersionNumber=255 $ECCODES_SAMPLES_PATH/BUFR4.tmpl $fBufrTmp
|
||||||
|
set +e
|
||||||
|
${tools_dir}/bufr_dump -p $fBufrTmp >& $fLog
|
||||||
|
status=$?
|
||||||
|
set -e
|
||||||
|
[ $status -ne 0 ]
|
||||||
|
grep -q "unable to find definition file sequence.def.*bufr/tables/0/local/0/98/0/sequence.def" $fLog
|
||||||
|
grep -q "ECCODES ERROR.*unable to get hash value for sequences" $fLog
|
||||||
|
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
rm -f $fLog
|
rm -f $fLog
|
||||||
rm -f $fBufrTmp
|
rm -f $fBufrTmp
|
||||||
|
|
Loading…
Reference in New Issue