]> matita.cs.unibo.it Git - helm.git/commitdiff
Used to left temporary file if something failed.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 19 Jul 2005 11:34:41 +0000 (11:34 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 19 Jul 2005 11:34:41 +0000 (11:34 +0000)
helm/matita/scripts/do_tests.sh

index 970828a6478dfff6a222963456ec6394c22ae0f4..a195b9cf0ee4ba816e29bbe917e3d2101db7c8de 100755 (executable)
@@ -48,10 +48,10 @@ for T in $TODO; do
   RC=$?;
   if [ $RC = 0 ]; then
     printf "$OK\t`cat $TMP`\t$DO_TESTS_EXTRA\n"
+    rm $TMP
   else
     printf "$FAIL\t`cat $TMP`\t$DO_TESTS_EXTRA\n";
+    rm $TMP
     exit $RC
   fi
 done
-
-rm $TMP