[test-suite] r259752 - RunSafely: Fix temporary .time.remote file not getting deleted

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 21:14:33 PST 2016


Author: matze
Date: Wed Feb  3 23:14:32 2016
New Revision: 259752

URL: http://llvm.org/viewvc/llvm-project?rev=259752&view=rev
Log:
RunSafely: Fix temporary .time.remote file not getting deleted

Modified:
    test-suite/trunk/RunSafely.sh

Modified: test-suite/trunk/RunSafely.sh
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/RunSafely.sh?rev=259752&r1=259751&r2=259752&view=diff
==============================================================================
--- test-suite/trunk/RunSafely.sh (original)
+++ test-suite/trunk/RunSafely.sh Wed Feb  3 23:14:32 2016
@@ -210,6 +210,7 @@ else
 
   # Copy remote files back
   cp -f "${OUTFILE}.time${REMOTE_SUFFIX}" "${OUTFILE}.time"
+  rm -f "${OUTFILE}.time${REMOTE_SUFFIX}"
   if [ "$NEW_MODE" = "0" ]; then
     cp -f "${OUTFILE}${REMOTE_SUFFIX}" "${OUTFILE}"
     rm -f "${OUTFILE}${REMOTE_SUFFIX}"




More information about the llvm-commits mailing list