From 0f647bdb99e4394e974a7ffbfa0e1245020aca9d Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Sat, 22 Apr 2023 17:11:09 +0100 Subject: [PATCH] Testing: Remove unused variable --- tests/bufr_dump_data.sh | 1 - tests/bufr_ecc-1259.sh | 4 +--- tests/bufr_ecc-1290.sh | 3 +-- tests/bufr_ecc-1304.sh | 2 -- tests/bufr_ecc-1305.sh | 3 +-- tests/grib2to3.sh | 2 -- tests/grib3_templates.sh | 2 -- tests/grib_dump_debug.sh | 2 -- tests/grib_ecc-1230.sh | 1 - tests/grib_ecc-1260.sh | 1 - tests/grib_ecc-1315.sh | 1 - tests/grib_ecc-1322.sh | 3 +-- tests/grib_ecc-1406.sh | 3 +-- tests/grib_ecc-1560.sh | 2 -- tests/grib_ecc-922.sh | 1 - tests/grib_neg_fctime.sh | 1 - tests/grib_octahedral.sh | 2 -- tests/grib_packing_order.sh | 1 - 18 files changed, 5 insertions(+), 30 deletions(-) diff --git a/tests/bufr_dump_data.sh b/tests/bufr_dump_data.sh index b8c5184a7..1eacbb1f8 100755 --- a/tests/bufr_dump_data.sh +++ b/tests/bufr_dump_data.sh @@ -25,7 +25,6 @@ fi # Test downloaded data files #============================================== bufr_files=`cat ${data_dir}/bufr/bufr_data_files.txt` -REDIRECT=/dev/null for file in ${bufr_files}; do ${tools_dir}/bufr_dump -O ${data_dir}/bufr/$file >/dev/null diff --git a/tests/bufr_ecc-1259.sh b/tests/bufr_ecc-1259.sh index a65e65be5..107a25823 100755 --- a/tests/bufr_ecc-1259.sh +++ b/tests/bufr_ecc-1259.sh @@ -9,10 +9,8 @@ # . ./include.ctest.sh -set -u -REDIRECT=/dev/null -label="bufr_ecc-1259_test" +label="bufr_ecc-1259_test" tempBufr=temp.$label.bufr tempFilt=temp.$label.filt tempOut=temp.$label.out diff --git a/tests/bufr_ecc-1290.sh b/tests/bufr_ecc-1290.sh index 9d426ef5d..90b774cd1 100755 --- a/tests/bufr_ecc-1290.sh +++ b/tests/bufr_ecc-1290.sh @@ -9,8 +9,7 @@ # . ./include.ctest.sh -set -u -REDIRECT=/dev/null + label="bufr_ecc-1290_test" temp=temp.$label tempRules=temp.${label}.filter diff --git a/tests/bufr_ecc-1304.sh b/tests/bufr_ecc-1304.sh index a7cf5dcd7..2ffd34711 100755 --- a/tests/bufr_ecc-1304.sh +++ b/tests/bufr_ecc-1304.sh @@ -9,9 +9,7 @@ # . ./include.ctest.sh -set -u -REDIRECT=/dev/null label="bufr_ecc-1304_test" tempBufr=temp.$label.bufr diff --git a/tests/bufr_ecc-1305.sh b/tests/bufr_ecc-1305.sh index 477404ed5..ac22c948c 100755 --- a/tests/bufr_ecc-1305.sh +++ b/tests/bufr_ecc-1305.sh @@ -9,8 +9,7 @@ # . ./include.ctest.sh -set -u -REDIRECT=/dev/null + label="bufr_ecc-1305_test" temp=temp.$label diff --git a/tests/grib2to3.sh b/tests/grib2to3.sh index ae4a4d339..e58d1f9e5 100755 --- a/tests/grib2to3.sh +++ b/tests/grib2to3.sh @@ -9,8 +9,6 @@ # . ./include.ctest.sh -REDIRECT=/dev/null - label="grib2to3_test" temp=temp.$label.grib3 sample_g2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl diff --git a/tests/grib3_templates.sh b/tests/grib3_templates.sh index decba118a..08a5aa012 100755 --- a/tests/grib3_templates.sh +++ b/tests/grib3_templates.sh @@ -9,8 +9,6 @@ # . ./include.ctest.sh -REDIRECT=/dev/null - label="grib3_templates_test" temp1=temp1.$label.grib3 temp2=temp2.$label.grib3 diff --git a/tests/grib_dump_debug.sh b/tests/grib_dump_debug.sh index d5bceb4f7..ed7698235 100755 --- a/tests/grib_dump_debug.sh +++ b/tests/grib_dump_debug.sh @@ -12,8 +12,6 @@ label="grib_dump_debug_test" temp=temp.$label.txt -REDIRECT=/dev/null - if [ $HAVE_MEMFS -eq 1 ]; then unset ECCODES_DEFINITION_PATH unset ECCODES_SAMPLES_PATH diff --git a/tests/grib_ecc-1230.sh b/tests/grib_ecc-1230.sh index a6f91e674..a20b0b461 100755 --- a/tests/grib_ecc-1230.sh +++ b/tests/grib_ecc-1230.sh @@ -10,7 +10,6 @@ . ./include.ctest.sh -REDIRECT=/dev/null label="prod_ECC-1230_test" temp1=temp1.$label temp2=temp2.$label diff --git a/tests/grib_ecc-1260.sh b/tests/grib_ecc-1260.sh index 23f4f5c82..f33de4eb6 100755 --- a/tests/grib_ecc-1260.sh +++ b/tests/grib_ecc-1260.sh @@ -10,7 +10,6 @@ . ./include.ctest.sh -REDIRECT=/dev/null label="grib_ecc-1260_test" tempGrib=temp.$label.grib tempRef=temp.$label.ref diff --git a/tests/grib_ecc-1315.sh b/tests/grib_ecc-1315.sh index 81a3be7de..73653b77d 100755 --- a/tests/grib_ecc-1315.sh +++ b/tests/grib_ecc-1315.sh @@ -10,7 +10,6 @@ . ./include.ctest.sh -REDIRECT=/dev/null label="grib_ecc-1313_test" tempOut=temp.$label.text tempRef=temp.$label.ref diff --git a/tests/grib_ecc-1322.sh b/tests/grib_ecc-1322.sh index a3024ecf4..d1f61206b 100755 --- a/tests/grib_ecc-1322.sh +++ b/tests/grib_ecc-1322.sh @@ -9,8 +9,7 @@ # . ./include.ctest.sh -set -u -REDIRECT=/dev/null + label="grib_ecc-1322_test" tempGrb=temp.$label.grib diff --git a/tests/grib_ecc-1406.sh b/tests/grib_ecc-1406.sh index 38d9d34c8..901833c07 100755 --- a/tests/grib_ecc-1406.sh +++ b/tests/grib_ecc-1406.sh @@ -9,8 +9,7 @@ # . ./include.ctest.sh -set -u -REDIRECT=/dev/null + label="grib_ecc-1406_test" tempGrib=temp.$label.grib diff --git a/tests/grib_ecc-1560.sh b/tests/grib_ecc-1560.sh index 1af0a98e8..b83eda55c 100755 --- a/tests/grib_ecc-1560.sh +++ b/tests/grib_ecc-1560.sh @@ -10,8 +10,6 @@ . ./include.ctest.sh -REDIRECT=/dev/null - label="grib_ecc-1560_test" temp_PDTN08_Grib=temp.$label.PDTN08.grib temp_PDTN11_Grib=temp.$label.PDTN11.grib diff --git a/tests/grib_ecc-922.sh b/tests/grib_ecc-922.sh index c04201f65..81e995633 100755 --- a/tests/grib_ecc-922.sh +++ b/tests/grib_ecc-922.sh @@ -15,7 +15,6 @@ # grib_get_data should fail on incorrectly coded grid # --------------------------------------------------------- -REDIRECT=/dev/null label="grib_ecc-922_test" temp=temp.$label sample_grib2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl diff --git a/tests/grib_neg_fctime.sh b/tests/grib_neg_fctime.sh index 3d0e5f88d..95d72a3a3 100755 --- a/tests/grib_neg_fctime.sh +++ b/tests/grib_neg_fctime.sh @@ -10,7 +10,6 @@ . ./include.ctest.sh -REDIRECT=/dev/null label="grib_neg_fctime_test" temp=temp.$label.grib input=${data_dir}/sample.grib2 diff --git a/tests/grib_octahedral.sh b/tests/grib_octahedral.sh index b4f3ebf07..967eecc1a 100755 --- a/tests/grib_octahedral.sh +++ b/tests/grib_octahedral.sh @@ -10,8 +10,6 @@ . ./include.ctest.sh -REDIRECT=/dev/null - label="grib_octahedral_test" temp=temp.$label.txt diff --git a/tests/grib_packing_order.sh b/tests/grib_packing_order.sh index 3cadb3f91..ffa758446 100755 --- a/tests/grib_packing_order.sh +++ b/tests/grib_packing_order.sh @@ -10,7 +10,6 @@ . ./include.ctest.sh -REDIRECT=/dev/null label="grib_packing_order_test" temp=${label}".grib.tmp" temp_simple1=${label}".simple1.tmp"