diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 13:44:49 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 13:44:49 +0000 |
commit | 440dfe9644108b72f1fc3d116b6924eb47440f15 (patch) | |
tree | f902c9345e62b482f86fe3a974cc87ee846e7ae0 /test/Object/nm-archive.test | |
parent | 122c57c0b82d125f33d2f036a67e96339e95c402 (diff) | |
download | external_llvm-440dfe9644108b72f1fc3d116b6924eb47440f15.zip external_llvm-440dfe9644108b72f1fc3d116b6924eb47440f15.tar.gz external_llvm-440dfe9644108b72f1fc3d116b6924eb47440f15.tar.bz2 |
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/Object/nm-archive.test')
-rw-r--r-- | test/Object/nm-archive.test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Object/nm-archive.test b/test/Object/nm-archive.test index 2d96b73..e35b4d4 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 |