From 9cea44a5f2cee1f167b73c119c8ac197763fb8fa Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 22 Jul 2013 12:41:04 +0000 Subject: [PATCH] Don't depend on a llvm-ar specific behavior. GNU ar when not given the a or b modifiers replaces archive members in the same location of the old ones. I am about to implement that in llvm-ar. For now, just don't depend on the current llvm-ar behavior on this test. llvm-svn: 186823 --- llvm/test/Object/archive-replace-pos.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/test/Object/archive-replace-pos.test b/llvm/test/Object/archive-replace-pos.test index 0ba9b6d..af0a301 100644 --- a/llvm/test/Object/archive-replace-pos.test +++ b/llvm/test/Object/archive-replace-pos.test @@ -12,7 +12,8 @@ CHECK: .foo CHECK-NEXT: .zed CHECK-NEXT: .bar -RUN: llvm-ar rc %t.a %t.foo %t.bar +RUN: rm -f %t.a +RUN: llvm-ar rc %t.a %t.zed %t.foo %t.bar RUN: llvm-ar t %t.a | FileCheck --check-prefix=CHECK2 %s CHECK2: .zed -- 2.7.4