Add test for native type changed by operator ECC-112

This commit is contained in:
Sandor Kertesz 2015-05-07 09:22:12 +01:00
parent 03b2011c58
commit d2e3f88b30
3 changed files with 17 additions and 0 deletions

View File

@ -132,3 +132,4 @@ temp_106.bufr
tmr7_129.bufr
tros_31.bufr
wavb_134.bufr
207003.bufr

View File

@ -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

View File

@ -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