mirror of https://github.com/ecmwf/eccodes.git
ECC-517: Improve test
This commit is contained in:
parent
90a86d93d7
commit
2cab6aa163
|
@ -10,8 +10,16 @@
|
|||
|
||||
. ./include.sh
|
||||
|
||||
# The program produces a BUFR file as output
|
||||
OUTPUT=temp.ecc-517.bufr
|
||||
TEMP=temp.ecc-517.txt
|
||||
|
||||
# Run program to create output BUFR file with replication
|
||||
${test_dir}/ecc-517 $OUTPUT
|
||||
|
||||
rm $OUTPUT
|
||||
# Check file is OK and has the expected number of descriptors
|
||||
${tools_dir}/bufr_dump -jf $OUTPUT > $TEMP
|
||||
count=`grep -c extendedVerticalSoundingSignificance $TEMP`
|
||||
[ $count -eq 487 ]
|
||||
|
||||
|
||||
rm $OUTPUT $TEMP
|
||||
|
|
Loading…
Reference in New Issue