mirror of https://github.com/ecmwf/eccodes.git
ECC-240: add test for bufr_dump -w (strict mode)
This commit is contained in:
parent
8dcb351133
commit
e0a345162c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue