OSDN Git Service

Fix use of `echo` command in test script
authorSam Clegg <sbc@chromium.org>
Wed, 30 May 2018 03:26:28 +0000 (03:26 +0000)
committerSam Clegg <sbc@chromium.org>
Wed, 30 May 2018 03:26:28 +0000 (03:26 +0000)
On win32 we use lit's executeBuiltinEcho to implement the
echo command and this version only currently supports flags
that are separate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333495 91177308-0d34-0410-b5e6-96231b3b80d8

test/Object/wasm-invalid-file.yaml

index 3c16291..309fbd4 100644 (file)
@@ -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