diff --git a/tests/bufr_change_edition.sh b/tests/bufr_change_edition.sh index 15d373088..6eb6d0628 100755 --- a/tests/bufr_change_edition.sh +++ b/tests/bufr_change_edition.sh @@ -26,6 +26,10 @@ for f in ${bufr_files}; do # Convert to BUFR edition 4 ${tools_dir}bufr_set -s editionNumber=4 $f $fBufrTmp ${tools_dir}bufr_compare $f $fBufrTmp + + ed=`${tools_dir}bufr_get -w count=1 -p editionNumber $fBufrTmp` + [ "$ed" = "4" ] + done rm -f $fBufrTmp