1 parent 7715b5f commit d1e84b5Copy full SHA for d1e84b5
1 file changed
test/lit/wasm-embed/embed.test
@@ -36,7 +36,7 @@
36
;; BAD-WAT: Fatal: 1:0: error: unrecognized module field
37
38
;; Verify that malformed binary Wasm errors out:
39
-;; RUN: printf '\x00asm\x01' > %t.bad.wasm
+;; RUN: echo -e '\x00asm\x01' > %t.bad.wasm
40
;; RUN: not wasm-embed %t.js %t.bad.wasm %t.wat %t.out.js 2>&1 | filecheck %s --check-prefix=BAD-WASM
41
;; BAD-WASM: Fatal: error parsing wasm
42
0 commit comments