From: Rafael Espindola Date: Thu, 20 Jun 2013 13:44:49 +0000 (+0000) Subject: Make sure ar is creating a new file instead of updating an existing one. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=440dfe9644108b72f1fc3d116b6924eb47440f15;p=oota-llvm.git 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 --- diff --git a/test/Object/nm-archive.test b/test/Object/nm-archive.test index 2d96b73a271..e35b4d431e6 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