Attempt to fix a Windows bot.
authorRui Ueyama <ruiu@google.com>
Tue, 25 Apr 2017 19:55:28 +0000 (19:55 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 25 Apr 2017 19:55:28 +0000 (19:55 +0000)
Looks like `echo "{_start;};"` on lld-x86_64-win7 bot echoes `_start;;`
for some reason. I cannot reproduce the issue locally. I suspect that
it might be interpreting {<word>} in a special way. This patch is to
attempt to fix it by appending space characters.

llvm-svn: 301353

lld/test/ELF/progname.s

index 154a727..6d91823 100644 (file)
@@ -12,7 +12,7 @@
 // RUN: ld.lld -o %t %t.o %t.so
 // RUN: llvm-readobj -dyn-symbols %t | FileCheck %s
 
-// RUN: echo "{_start;};" > %t.dynlist
+// RUN: echo "{ _start; };" > %t.dynlist
 // RUN: ld.lld -dynamic-list %t.dynlist -o %t %t.o %t.so
 // RUN: llvm-readobj -dyn-symbols %t | FileCheck %s