From d2ef5965afe07c9be89ced8ec11b7ff451c6093c Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 1 Dec 2023 12:46:07 +0000 Subject: [PATCH] ECC-1620: Fix broken Windows test (ECCODES_FUTURE_BEHAVIOUR: unbound variable) --- tests/grib_ecc-1620.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/grib_ecc-1620.sh b/tests/grib_ecc-1620.sh index 7987455ec..1fdf6b075 100755 --- a/tests/grib_ecc-1620.sh +++ b/tests/grib_ecc-1620.sh @@ -40,7 +40,9 @@ grib_check_key_equals() fi } +set +u [[ -z "${ECCODES_FUTURE_BEHAVIOUR}" ]] && HOUR="" || HOUR="h" +set -u label="grib_ecc-1620" temp=temp.$label