diff options
author | Fangrui Song <maskray@google.com> | 2018-07-25 22:11:00 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-07-25 22:11:00 +0000 |
commit | 060e3f8feb867ad5f7bc4e4cd2dddc833f136e4d (patch) | |
tree | 5c3552a76816ee8e8c02dbdf34b1494b22ddecb9 | |
parent | ba267fd7895eb58e0a458da7f5615d38956bd5d4 (diff) |
[ELF] Make linker-script-in-search-path.s robust per r337972
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@337975 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/ELF/linkerscript/linker-script-in-search-path.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ELF/linkerscript/linker-script-in-search-path.s b/test/ELF/linkerscript/linker-script-in-search-path.s index be83b55b8..ae39f9c6a 100644 --- a/test/ELF/linkerscript/linker-script-in-search-path.s +++ b/test/ELF/linkerscript/linker-script-in-search-path.s @@ -4,8 +4,8 @@ # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: mkdir -p %T/searchpath -# RUN: echo "OUTPUT(\"%t.out\")" > %T/searchpath/foo.script -# RUN: ld.lld -T%T/searchpath/foo.script %t.o +# RUN: echo 'OUTPUT("%t.out")' > %T/searchpath/%basename_t.script +# RUN: ld.lld -T%T/searchpath/%basename_t.script %t.o # RUN: llvm-readobj %t.out | FileCheck %s # CHECK: Format: ELF64-x86-64 |