mirror of https://github.com/ecmwf/eccodes.git
Add test for native type changed by operator ECC-112
This commit is contained in:
parent
03b2011c58
commit
d2e3f88b30
|
@ -132,3 +132,4 @@ temp_106.bufr
|
|||
tmr7_129.bufr
|
||||
tros_31.bufr
|
||||
wavb_134.bufr
|
||||
207003.bufr
|
||||
|
|
|
@ -270,3 +270,4 @@ aaen_55.bufr.ls.ref
|
|||
syno_multi.bufr.header.ref
|
||||
syno_multi.bufr
|
||||
bad.bufr.json.ref
|
||||
207003.bufr.json.ref
|
|
@ -48,6 +48,21 @@ ${tools_dir}bufr_dump -js $fBufr > $fJsonTmp
|
|||
|
||||
diff $fJsonTmp $fJsonRef >$REDIRECT 2> $REDIRECT
|
||||
|
||||
#==============================================
|
||||
# Testing a malformed bufr file (see ECC-110)
|
||||
#==============================================
|
||||
|
||||
echo "Test: operator 207003 " >> $fLog
|
||||
|
||||
rm -f $fJsonTmp | true
|
||||
|
||||
fBufr=${data_dir}/bufr/"207003.bufr"
|
||||
fJsonRef=${data_dir}/bufr/"207003.bufr.json.ref"
|
||||
|
||||
${tools_dir}bufr_dump -ja $fBufr > $fJsonTmp
|
||||
|
||||
diff $fJsonTmp $fJsonRef >$REDIRECT 2> $REDIRECT
|
||||
|
||||
#Clean up
|
||||
rm -f $fLog
|
||||
rm -f $fJsonTmp | true
|
||||
|
|
Loading…
Reference in New Issue