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 57dc6d35a3
commit 902c5e858b

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