summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-20 13:44:49 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-20 13:44:49 +0000
commit440dfe9644108b72f1fc3d116b6924eb47440f15 (patch)
treef902c9345e62b482f86fe3a974cc87ee846e7ae0 /test
parent122c57c0b82d125f33d2f036a67e96339e95c402 (diff)
downloadllvm-440dfe9644108b72f1fc3d116b6924eb47440f15.tar.gz
llvm-440dfe9644108b72f1fc3d116b6924eb47440f15.tar.bz2
llvm-440dfe9644108b72f1fc3d116b6924eb47440f15.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Object/nm-archive.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Object/nm-archive.test b/test/Object/nm-archive.test
index 2d96b73a27..e35b4d431e 100644
--- a/test/Object/nm-archive.test
+++ b/test/Object/nm-archive.test
@@ -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