Testing: Remove temporary files

This commit is contained in:
shahramn 2024-04-23 12:17:03 +01:00
parent 9fd499d5ac
commit d4464199b7
3 changed files with 2 additions and 3 deletions

View File

@ -44,4 +44,4 @@ $EXEC ${test_dir}/codes_get_string GTS "$input" theMessage 2> $tempText
grep -q "Buffer too small" $tempText grep -q "Buffer too small" $tempText
# Clean up # Clean up
rm -f $tempText rm -f $tempText $tempGrib

View File

@ -62,7 +62,6 @@ ${tools_dir}/grib_filter $tempFilt $sample2 > $tempText 2>&1
status=$? status=$?
set -e set -e
[ $status -ne 0 ] [ $status -ne 0 ]
cat $tempText
grep -q "Definition files version .* is greater than engine version" $tempText grep -q "Definition files version .* is greater than engine version" $tempText
rm -f $tempFilt $temp $tempText rm -f $tempFilt $temp $tempText

View File

@ -208,5 +208,5 @@ grep -q "End of resource reached" $tempOut
# Clean up # Clean up
rm -f $tempOut $tempRef rm -f $temp $tempOut $tempRef
rm -f $tempIndex $tempIndex1 $tempIndex2 $tempGribFile1 $tempGribFile2 rm -f $tempIndex $tempIndex1 $tempIndex2 $tempGribFile1 $tempGribFile2