ECC-517: Improve test

This commit is contained in:
Shahram Najm 2017-08-30 11:31:06 +01:00
parent 90a86d93d7
commit 2cab6aa163
1 changed files with 10 additions and 2 deletions

View File

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