[compiler-rt] r271959 - add -f to rm so the test passes the first time it's run the file file is not present

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 16:31:58 PDT 2016


Author: dblaikie
Date: Mon Jun  6 18:31:58 2016
New Revision: 271959

URL: http://llvm.org/viewvc/llvm-project?rev=271959&view=rev
Log:
add -f to rm so the test passes the first time it's run the file file is not present

(otherwise it just keeps failing at the rm step and never passes... )

Modified:
    compiler-rt/trunk/test/profile/Linux/instrprof-file_ex.test

Modified: compiler-rt/trunk/test/profile/Linux/instrprof-file_ex.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Linux/instrprof-file_ex.test?rev=271959&r1=271958&r2=271959&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Linux/instrprof-file_ex.test (original)
+++ compiler-rt/trunk/test/profile/Linux/instrprof-file_ex.test Mon Jun  6 18:31:58 2016
@@ -1,6 +1,6 @@
 RUN: mkdir -p %t.d
 RUN: %clang_profgen -fprofile-instr-generate %S/../Inputs/instrprof-file_ex.c -o %t
-RUN: rm %t.d/run.dump
+RUN: rm -f %t.d/run.dump
 RUN: %run %t %t.d/run.dump
 RUN: sort %t.d/run.dump | FileCheck %s
 




More information about the llvm-commits mailing list