From 89ec3a19eba627d77236fefd3a913ebf36bdf158 Mon Sep 17 00:00:00 2001 From: shahramn Date: Fri, 9 Aug 2024 17:25:51 +0100 Subject: [PATCH] ECC-1899: Test --- tests/grib_filter.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tests/grib_filter.sh b/tests/grib_filter.sh index 4f4ab00be..fce1a6f0b 100755 --- a/tests/grib_filter.sh +++ b/tests/grib_filter.sh @@ -301,6 +301,23 @@ ${tools_dir}/grib_filter $tempFilt $input cd .. rm -rf $tempDir +# Use of debug_mode functor +cat >$tempFilt < $tempOut 2>&1 +# 2m temperature has typeOfFirstFixedSurface of 103 +grep -q "ECCODES DEBUG about to set key/value pair: typeOfFirstFixedSurface=103" $tempOut +grep -q "grib_set_long_internal .* year=1999" $tempOut + + # Use of 'defined' functor cat >$tempFilt <