From 5edec6931c6a94101c9ecb4dae9e3fe01928efbc Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 22 Feb 2017 09:02:27 +0000 Subject: [PATCH] Write to a temporary file in test instead of random file in the test directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295815 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Object/archive-pad.test | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Object/archive-pad.test b/test/Object/archive-pad.test index e906791787a..343f51ef60a 100644 --- a/test/Object/archive-pad.test +++ b/test/Object/archive-pad.test @@ -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 -- 2.50.1