Make sure output goes in the temporary/output directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18096 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Archive/ranlib_GNU.ll b/test/Archive/ranlib_GNU.ll
index 3def944..ac63989 100644
--- a/test/Archive/ranlib_GNU.ll
+++ b/test/Archive/ranlib_GNU.ll
@@ -1,9 +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: cp %p/GNU.a GNU_copy.a
-;RUN: llvm-ranlib GNU_copy.a
-;RUN: llvm-ar t GNU_copy.a > %t1
+;RUN: cp %p/GNU.a %t.GNU.a
+;RUN: llvm-ranlib %t.GNU.a
+;RUN: llvm-ar t %t.GNU.a > %t1
;RUN: sed -e '/^;.*/d' %s >%t2
;RUN: diff %t2 %t1
evenlen