summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2018-05-30 03:26:28 +0000
committerSam Clegg <sbc@chromium.org>2018-05-30 03:26:28 +0000
commite1076e5a77fc96cadf12c2b9700b78dd88d20a1d (patch)
treef9e2cc01ef935daddbd551a54a1b337de37fc8a7
parent105bdc25573288b9abf2d5d81313ec549a7e8af7 (diff)
downloadbcm5719-llvm-e1076e5a77fc96cadf12c2b9700b78dd88d20a1d.tar.gz
bcm5719-llvm-e1076e5a77fc96cadf12c2b9700b78dd88d20a1d.zip
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. llvm-svn: 333495
-rw-r--r--llvm/test/Object/wasm-invalid-file.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Object/wasm-invalid-file.yaml b/llvm/test/Object/wasm-invalid-file.yaml
index 3c16291c06d..309fbd46e6e 100644
--- a/llvm/test/Object/wasm-invalid-file.yaml
+++ b/llvm/test/Object/wasm-invalid-file.yaml
@@ -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
OpenPOWER on IntegriCloud