]> granicus.if.org Git - llvm/commitdiff
Write to a temporary file in test instead of random file in the test directory.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 22 Feb 2017 09:02:27 +0000 (09:02 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 22 Feb 2017 09:02:27 +0000 (09:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295815 91177308-0d34-0410-b5e6-96231b3b80d8

test/Object/archive-pad.test

index e906791787a23dd93b359562b5accf8332318b2e..343f51ef60afb38ded3640129f499819b1c0b7f4 100644 (file)
@@ -5,15 +5,15 @@ RUN: echo foo > %t.o
 
 RUN: rm -f %t.a
 RUN: llvm-ar -format=bsd rc %t.a %t.o
-RUN: llvm-ar p %t.a > %bsd.o
-RUN: cmp %bsd.o %t.o
+RUN: llvm-ar p %t.a > %t.bsd.o
+RUN: cmp %t.bsd.o %t.o
 
 RUN: rm -f %t.a
 RUN: llvm-ar -format=gnu rc %t.a %t.o
-RUN: llvm-ar p %t.a > %gnu.o
-RUN: cmp %gnu.o %t.o
+RUN: llvm-ar p %t.a > %t.gnu.o
+RUN: cmp %t.gnu.o %t.o
 
 RUN: rm -f %t.a
 RUN: llvm-ar -format=darwin rc %t.a %t.o
-RUN: llvm-ar p %t.a > %darwin.o
-RUN: not cmp %darwin.o %t.o
+RUN: llvm-ar p %t.a > %t.darwin.o
+RUN: not cmp %t.darwin.o %t.o