Skip to content

Commit d1e84b5

Browse files
committed
avoid unportable printf in test
1 parent 7715b5f commit d1e84b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/lit/wasm-embed/embed.test‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
;; BAD-WAT: Fatal: 1:0: error: unrecognized module field
3737

3838
;; Verify that malformed binary Wasm errors out:
39-
;; RUN: printf '\x00asm\x01' > %t.bad.wasm
39+
;; RUN: echo -e '\x00asm\x01' > %t.bad.wasm
4040
;; RUN: not wasm-embed %t.js %t.bad.wasm %t.wat %t.out.js 2>&1 | filecheck %s --check-prefix=BAD-WASM
4141
;; BAD-WASM: Fatal: error parsing wasm
4242

0 commit comments

Comments
 (0)