From d4464199b7543a45324a17ebacd23e1dc7fd71a6 Mon Sep 17 00:00:00 2001 From: shahramn Date: Tue, 23 Apr 2024 12:17:03 +0100 Subject: [PATCH] Testing: Remove temporary files --- tests/codes_get_string.sh | 2 +- tests/grib2_version.sh | 1 - tests/grib_indexing.sh | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/codes_get_string.sh b/tests/codes_get_string.sh index 188c81a3e..98d68f671 100755 --- a/tests/codes_get_string.sh +++ b/tests/codes_get_string.sh @@ -44,4 +44,4 @@ $EXEC ${test_dir}/codes_get_string GTS "$input" theMessage 2> $tempText grep -q "Buffer too small" $tempText # Clean up -rm -f $tempText +rm -f $tempText $tempGrib diff --git a/tests/grib2_version.sh b/tests/grib2_version.sh index 6e6daef42..8b3119767 100755 --- a/tests/grib2_version.sh +++ b/tests/grib2_version.sh @@ -62,7 +62,6 @@ ${tools_dir}/grib_filter $tempFilt $sample2 > $tempText 2>&1 status=$? set -e [ $status -ne 0 ] -cat $tempText grep -q "Definition files version .* is greater than engine version" $tempText rm -f $tempFilt $temp $tempText diff --git a/tests/grib_indexing.sh b/tests/grib_indexing.sh index 5f73f7039..1e3001f16 100755 --- a/tests/grib_indexing.sh +++ b/tests/grib_indexing.sh @@ -208,5 +208,5 @@ grep -q "End of resource reached" $tempOut # Clean up -rm -f $tempOut $tempRef +rm -f $temp $tempOut $tempRef rm -f $tempIndex $tempIndex1 $tempIndex2 $tempGribFile1 $tempGribFile2