[ELF] Set -o because current directory may not be writable during a test
authorFangrui Song <maskray@google.com>
Fri, 29 Jun 2018 17:07:22 +0000 (17:07 +0000)
committerFangrui Song <maskray@google.com>
Fri, 29 Jun 2018 17:07:22 +0000 (17:07 +0000)
llvm-svn: 335992

lld/test/ELF/map-file-i686.s

index f3718bd..1b232e5 100644 (file)
@@ -1,7 +1,7 @@
 // REQUIRES: x86
 
 // RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %s -o %t1.o
-// RUN: ld.lld %t1.o -M | FileCheck -strict-whitespace %s
+// RUN: ld.lld %t1.o -o %t1 -M | FileCheck -strict-whitespace %s
 
 .global _start
 _start: