Clean up temporary data created by test

This commit is contained in:
Shahram Najm 2017-11-08 11:09:58 +00:00
parent 0de07ae5ae
commit 5d3e6ab933
1 changed files with 3 additions and 1 deletions

View File

@ -27,12 +27,13 @@ do
ref_num=$file.num.ref ref_num=$file.num.ref
diff_num=$file.num.diff diff_num=$file.num.diff
rm -f $res_num | true rm -f $res_num
${tools_dir}/codes_bufr_filter bufrdc_num_ref.filter $file 2> $REDIRECT > $res_num ${tools_dir}/codes_bufr_filter bufrdc_num_ref.filter $file 2> $REDIRECT > $res_num
# Exclude the BUFR file uegabe.bufr because its reference file is incorrect # Exclude the BUFR file uegabe.bufr because its reference file is incorrect
if [ "$bf" = "uegabe.bufr" ]; then if [ "$bf" = "uegabe.bufr" ]; then
rm -f $res_num
continue continue
fi fi
@ -42,6 +43,7 @@ do
#numdiff $ref_num $res_num >$REDIRECT 2> $REDIRECT #numdiff $ref_num $res_num >$REDIRECT 2> $REDIRECT
fi fi
rm -f $res_num
done done
rm -f bufrdc_num_ref.filter rm -f bufrdc_num_ref.filter