Make sure ar is creating a new file instead of updating an existing one.

Should fix the bots that are seeing a corrupted file from a previous run.

llvm-svn: 184424
This commit is contained in:
Rafael Espindola 2013-06-20 13:44:49 +00:00
parent 789c129a9f
commit cb4f11696b
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
RUN: llvm-nm %p/Inputs/archive-test.a-coff-i386 \
RUN: | FileCheck %s -check-prefix COFF
RUN: llvm-as %p/Inputs/trivial.ll -o=%t1
RUN: rm -f %t2
RUN: llvm-ar rcs %t2 %t1
RUN: llvm-nm %t2 | FileCheck %s -check-prefix BITCODE