ECC-240: add test for bufr_dump -w (strict mode)

This commit is contained in:
Shahram Najm 2019-06-17 17:08:36 +01:00
parent 8dcb351133
commit e0a345162c
1 changed files with 5 additions and 0 deletions

View File

@ -64,5 +64,10 @@ do
${tools_dir}/bufr_dump -S1 ${data_dir}/bufr/$file >/dev/null
done
# Check strict option with 'where' clause
input=${data_dir}/bufr/tropical_cyclone.bufr
ce=`${tools_dir}/bufr_dump -p -w count=3 $input | grep -c 'edition='`
[ $ce -eq 1 ]
# Clean up
rm -f $temp1 $temp2