[llvm] r295815 - Write to a temporary file in test instead of random file in the test directory.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 01:02:27 PST 2017


Author: d0k
Date: Wed Feb 22 03:02:27 2017
New Revision: 295815

URL: http://llvm.org/viewvc/llvm-project?rev=295815&view=rev
Log:
Write to a temporary file in test instead of random file in the test directory.

Modified:
    llvm/trunk/test/Object/archive-pad.test

Modified: llvm/trunk/test/Object/archive-pad.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/archive-pad.test?rev=295815&r1=295814&r2=295815&view=diff
==============================================================================
--- llvm/trunk/test/Object/archive-pad.test (original)
+++ llvm/trunk/test/Object/archive-pad.test Wed Feb 22 03:02:27 2017
@@ -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




More information about the llvm-commits mailing list