aboutsummaryrefslogtreecommitdiffstats
path: root/test/Object
diff options
context:
space:
mode:
Diffstat (limited to 'test/Object')
-rw-r--r--test/Object/archive-replace-pos.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Object/archive-replace-pos.test b/test/Object/archive-replace-pos.test
index 0ba9b6d..af0a301 100644
--- a/test/Object/archive-replace-pos.test
+++ b/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