aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Archive/ranlib_GNU.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Archive/ranlib_GNU.ll b/test/Archive/ranlib_GNU.ll
index 61ca2734dd..3def94465e 100644
--- a/test/Archive/ranlib_GNU.ll
+++ b/test/Archive/ranlib_GNU.ll
@@ -1,8 +1,9 @@
;This isn't really an assembly file, its just here to run the test.
;This test just makes sure that llvm-ar can generate a symbol table for
;GNU style archives
-;RUN: llvm-ranlib %p/GNU.a
-;RUN: llvm-ar t %p/GNU.a > %t1
+;RUN: cp %p/GNU.a GNU_copy.a
+;RUN: llvm-ranlib GNU_copy.a
+;RUN: llvm-ar t GNU_copy.a > %t1
;RUN: sed -e '/^;.*/d' %s >%t2
;RUN: diff %t2 %t1
evenlen