diff options
Diffstat (limited to 'lld/test/ELF/linkerscript/linkerscript.s')
-rw-r--r-- | lld/test/ELF/linkerscript/linkerscript.s | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lld/test/ELF/linkerscript/linkerscript.s b/lld/test/ELF/linkerscript/linkerscript.s index 5e1cf27f076..41140abe842 100644 --- a/lld/test/ELF/linkerscript/linkerscript.s +++ b/lld/test/ELF/linkerscript/linkerscript.s @@ -33,13 +33,14 @@ # RUN: ld.lld %t.script1 -o %t.out # RUN: llvm-readobj %t2 > /dev/null +# RUN: rm -rf %t.dir && mkdir -p %t.dir # RUN: echo "INCLUDE \"foo.script\"" > %t.script -# RUN: echo "OUTPUT(\"%t.out\")" > %T/foo.script +# RUN: echo "OUTPUT(\"%t.out\")" > %t.dir/foo.script # RUN: not ld.lld %t.script -o %t.out > %t.log 2>&1 # RUN: FileCheck -check-prefix=INCLUDE_ERR %s < %t.log # INCLUDE_ERR: error: {{.+}}.script:1: cannot find linker script foo.script # INCLUDE_ERR-NEXT: INCLUDE "foo.script" -# RUN: ld.lld -L %T %t.script %t +# RUN: ld.lld -L %t.dir %t.script %t # RUN: echo "FOO(BAR)" > %t.script # RUN: not ld.lld -o %t.out %t.script > %t.log 2>&1 |