diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d4fc34dbf..1ed68cfc6 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -276,6 +276,7 @@ if( HAVE_BUILD_TOOLS ) grib_ecc-1467 grib_ecc-1764 grib_ecc-1792 + grib_ecc-1907 grib_modelName grib_sub_hourly grib_set_bytes diff --git a/tests/grib_ecc-1907.sh b/tests/grib_ecc-1907.sh new file mode 100755 index 000000000..e24cca742 --- /dev/null +++ b/tests/grib_ecc-1907.sh @@ -0,0 +1,60 @@ +#!/bin/sh +# (C) Copyright 2005- ECMWF. +# +# This software is licensed under the terms of the Apache Licence Version 2.0 +# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. +# +# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by +# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction. +# + +. ./include.ctest.sh + +label="grib_ecc-1907_test" +tempGrib1=temp.$label.grib1 +tempGrib2=temp.$label.grib2 +tempFilt=temp.$label.filt +tempLog=temp.$label.log +tempOut=temp.$label.txt +tempRef=temp.$label.ref + +sample_grib1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl + +cat >$tempFilt<