From fbd27b037e1e547d30dfe0c7c61af25e586c8c5a Mon Sep 17 00:00:00 2001 From: shahramn Date: Wed, 6 Mar 2024 18:31:15 +0000 Subject: [PATCH] Testing: Bit access --- tests/grib_filter.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/grib_filter.sh b/tests/grib_filter.sh index 250302890..660d568b3 100755 --- a/tests/grib_filter.sh +++ b/tests/grib_filter.sh @@ -324,6 +324,20 @@ EOF ${tools_dir}/grib_filter $tempFilt $ECCODES_SAMPLES_PATH/GRIB2.tmpl > $tempOut grep -q "No args: false" $tempOut +# Bit on off +cat >$tempFilt < $tempOut +cat $tempOut +grep -q "xx1=1" $tempOut +grep -q "xx2=0" $tempOut +grep -q "yy1=0" $tempOut +grep -q "yy2=1" $tempOut + # Use of dummy expression (=true) cat >$tempFilt <