diff --git a/compiler/tests-ocaml/lib-unix/common/append.ml b/compiler/tests-ocaml/lib-unix/common/append.ml index accb3d5968..40d9a608f2 100644 --- a/compiler/tests-ocaml/lib-unix/common/append.ml +++ b/compiler/tests-ocaml/lib-unix/common/append.ml @@ -39,4 +39,5 @@ let () = in f (); Unix.close fd; + Sys.remove "append.txt"; assert (Buffer.contents buf = str ^ str) diff --git a/compiler/tests-ocaml/lib-unix/common/dune b/compiler/tests-ocaml/lib-unix/common/dune index e56f94ae60..dd2dc5e7e4 100644 --- a/compiler/tests-ocaml/lib-unix/common/dune +++ b/compiler/tests-ocaml/lib-unix/common/dune @@ -1,13 +1,11 @@ (tests - (names - append - channel_of - cmdline_prog - reflector - rename - truncate - uexit - utimes) + (names append) + (libraries ocaml_testing unix) + (locks append.txt) + (modes js wasm)) + +(tests + (names channel_of cmdline_prog reflector rename truncate uexit utimes) (libraries ocaml_testing unix) (modes js wasm))