Testing: Fix broken test

This commit is contained in:
Shahram Najm 2023-09-04 12:01:01 +00:00
parent f7cf087f08
commit b2b4fa1f60
2 changed files with 6 additions and 2 deletions

View File

@ -87,6 +87,7 @@ if( HAVE_BUILD_TOOLS )
bufr_check_descriptors
definitions
grib2_version
grib_accessors
grib_calendar
grib_md5
grib_cfNames
@ -277,7 +278,6 @@ if( HAVE_BUILD_TOOLS )
grib_copy_message
grib_decimalPrecision
grib_bitsPerValue
grib_accessors
grib_get_fail
grib_missing
grib_local

View File

@ -45,8 +45,12 @@ ${tools_dir}/grib_get -p key_uint32 $input >> $tempText 2>&1
${tools_dir}/grib_get -p key_uint32_le $input >> $tempText 2>&1
set -e
# grib_check_key_equals $input 'key_uint64,key_uint64_le' '0 0'
${tools_dir}/grib_get -p key_uint64 $input > $tempText 2>&1
${tools_dir}/grib_get -p key_uint64_le $input > $tempText 2>&1
cat $tempText
# kindOfProduct = GRIB, dataDate = 20070323
grib_check_key_equals $input 'key_uint64,key_uint64_le' '0 0'
grib_check_key_equals $input 'key_tos1,key_tos2' 'G 200'
grib_check_key_equals $input 'key_tos2:d,key_tos2:i' '200 200'