diff --git a/lld/test/ELF/libsearch.s b/lld/test/ELF/libsearch.s index ca9fe2ed678b..2c7d868bba74 100644 --- a/lld/test/ELF/libsearch.s +++ b/lld/test/ELF/libsearch.s @@ -90,7 +90,7 @@ // RUN: llvm-readobj --symbols %t3 | FileCheck --check-prefix=DYNAMIC %s // -nostdlib -// RUN: echo ' SEARCH_DIR("'%t.dir'")' > %t.script +// RUN: echo 'SEARCH_DIR("'%t.dir'")' > %t.script // RUN: ld.lld -o %t3 %t.o -script %t.script -lls // RUN: not ld.lld -o %t3 %t.o -script %t.script -lls -nostdlib \ // RUN: 2>&1 | FileCheck --check-prefix=NOSTDLIB %s diff --git a/lld/test/ELF/version-script-err.s b/lld/test/ELF/version-script-err.s index 60e9ae720476..15b69e98505b 100644 --- a/lld/test/ELF/version-script-err.s +++ b/lld/test/ELF/version-script-err.s @@ -4,7 +4,7 @@ // RUN: not ld.lld -shared %t.o -o %t.so --version-script %p/Inputs/version-script-err.script 2>&1 | FileCheck %s // CHECK: ; expected, but got } -// RUN: echo " \"" > %terr1.script +// RUN: echo "\"" > %terr1.script // RUN: not ld.lld --version-script %terr1.script -shared %t.o -o %t.so 2>&1 | \ // RUN: FileCheck -check-prefix=ERR1 %s // ERR1: unclosed quote