From 085bb0120d34492d0e626d02319dc0464bedc58d Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 10 Apr 2020 17:26:00 +0100 Subject: [PATCH] Testing: clean up temp files --- tests/grib1to2.sh | 2 ++ tests/grib_util_set_spec.sh | 1 + tests/pseudo_diag.sh | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/grib1to2.sh b/tests/grib1to2.sh index 1eb37ecfe..cc1123c48 100755 --- a/tests/grib1to2.sh +++ b/tests/grib1to2.sh @@ -80,6 +80,8 @@ if [ -x "${tools_dir}/grib_check_gaussian_grid" ]; then ${tools_dir}/grib_check_gaussian_grid $input $output fi +rm -f $output + #sed "s:toolsdir:${tools_dir}/:" ${tools_dir}/grib1to2.txt > ${tools_dir}/grib1to2.test #chmod +x ${tools_dir}/grib1to2.test #${tools_dir}/grib1to2.test -f ${data_dir}/test.grib1 ${data_dir}/test.grib2 diff --git a/tests/grib_util_set_spec.sh b/tests/grib_util_set_spec.sh index 7bab5ab08..4b0afffb2 100755 --- a/tests/grib_util_set_spec.sh +++ b/tests/grib_util_set_spec.sh @@ -104,3 +104,4 @@ ${tools_dir}/grib_get_data $outfile > /dev/null ### Clean up rm -f $outfile $tempOut +rm -f error.data diff --git a/tests/pseudo_diag.sh b/tests/pseudo_diag.sh index 61bdd47d1..a203ec3de 100755 --- a/tests/pseudo_diag.sh +++ b/tests/pseudo_diag.sh @@ -86,4 +86,4 @@ grep -q "'E', 'C', 'M', 'W', 'F', ' '" $tempTxt # Clean up -rm -f $tempOut $tempRef +rm -f $tempOut $tempRef $tempTxt