[llvm] r333495 - Fix use of `echo` command in test script

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Tue May 29 20:26:29 PDT 2018


Author: sbc
Date: Tue May 29 20:26:28 2018
New Revision: 333495

URL: http://llvm.org/viewvc/llvm-project?rev=333495&view=rev
Log:
Fix use of `echo` command in test script

On win32 we use lit's executeBuiltinEcho to implement the
echo command and this version only currently supports flags
that are separate.

Modified:
    llvm/trunk/test/Object/wasm-invalid-file.yaml

Modified: llvm/trunk/test/Object/wasm-invalid-file.yaml
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/wasm-invalid-file.yaml?rev=333495&r1=333494&r2=333495&view=diff
==============================================================================
--- llvm/trunk/test/Object/wasm-invalid-file.yaml (original)
+++ llvm/trunk/test/Object/wasm-invalid-file.yaml Tue May 29 20:26:28 2018
@@ -1,5 +1,5 @@
 # RUN: yaml2obj %s > %t.wasm
-# RUN: echo -en "\x01" >> %t.wasm
+# RUN: echo -e -n "\x01" >> %t.wasm
 # Append a new section but truncate the encoding of the section size
 # RUN: not llvm-objdump -h %t.wasm 2>&1 | FileCheck %s -check-prefix=CHECK-LEB-DECODE
 




More information about the llvm-commits mailing list