[ELF] Don't write to the source directory in test.

llvm-svn: 329384
This commit is contained in:
Benjamin Kramer 2018-04-06 10:05:47 +00:00
parent 832563a782
commit d726d04f45
1 changed files with 2 additions and 2 deletions

View 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