[ELF] Don't write to the source directory in test.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 6 Apr 2018 10:05:47 +0000 (10:05 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 6 Apr 2018 10:05:47 +0000 (10:05 +0000)
llvm-svn: 329384

lld/test/ELF/reproduce-backslash.s

index 40b9dd8..7a9964d 100644 (file)
@@ -3,7 +3,7 @@
 # Test that we don't erroneously replace \ with / on UNIX, as it's
 # legal for a filename to contain backslashes.
 # RUN: llvm-mc %s -o %T/foo\\.o -filetype=obj -triple=x86_64-pc-linux
-# RUN: ld.lld %T/foo\\.o --reproduce repro.tar
-# RUN: tar tf repro.tar | FileCheck %s
+# RUN: ld.lld %T/foo\\.o --reproduce %T/repro.tar -o /dev/null
+# RUN: tar tf %T/repro.tar | FileCheck %s
 
 # CHECK: repro/{{.*}}/foo\\.o