diff --git a/tests/bufr_get.sh b/tests/bufr_get.sh index 41052db70..57dade77e 100755 --- a/tests/bufr_get.sh +++ b/tests/bufr_get.sh @@ -36,6 +36,11 @@ id=`${tools_dir}/bufr_get -p edition,identifier avhn_87.bufr` id=`${tools_dir}/bufr_get -p edition,identifier aaen_55.bufr` [ "$id" = "4 BUFR" ] +set +e +${tools_dir}/bufr_get -p identifier:d avhn_87.bufr +status=$? +set -e +[ $status -ne 0 ] #------------------------------------------- # Test "-p" switch diff --git a/tests/grib_ls.sh b/tests/grib_ls.sh index 29ede3bcf..7d884608c 100755 --- a/tests/grib_ls.sh +++ b/tests/grib_ls.sh @@ -201,6 +201,11 @@ set -e [ $status -ne 0 ] grep -q "Invalid file offset" $tempText +# Decode an ascii key as double +file=$ECCODES_SAMPLES_PATH/reduced_gg_pl_32_grib2.tmpl +grib_check_key_equals $file 'expver:d' 1 +grib_check_key_equals $file 'expver:s' '0001' + # Clean up rm -f $temp1 $temp2 $tempText $tempLog