Make sure we create a new archive by deleting any stale ones first.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 Jan 2014 16:56:57 +0000 (16:56 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 Jan 2014 16:56:57 +0000 (16:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199319 91177308-0d34-0410-b5e6-96231b3b80d8

test/Object/extract.ll

index 4e519aea75050c3e8bc06368365f87a0c29b1bc1..f62aee3529c80b57af8e1d2e6b77235e0ce2ad22 100644 (file)
@@ -40,6 +40,7 @@
 ; new archive and checking that date.
 ; RUN: rm -f very_long_bytecode_file_name.bc
 ; RUN: llvm-ar xo %p/Inputs/GNU.a very_long_bytecode_file_name.bc
+; RUN; rm -f %t.a
 ; RUN: llvm-ar rc %t.a very_long_bytecode_file_name.bc
 ; RUN: env TZ=GMT llvm-ar tv %t.a | FileCheck %s