Skip to content

Commit f89ccef

Browse files
committed
Tests: fix lib-unix/common concurrency
1 parent 9227923 commit f89ccef

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

compiler/tests-ocaml/lib-unix/common/append.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ let () =
3939
in
4040
f ();
4141
Unix.close fd;
42+
Sys.remove "append.txt";
4243
assert (Buffer.contents buf = str ^ str)

compiler/tests-ocaml/lib-unix/common/dune

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
(tests
2-
(names
3-
append
4-
channel_of
5-
cmdline_prog
6-
reflector
7-
rename
8-
truncate
9-
uexit
10-
utimes)
2+
(names append)
3+
(libraries ocaml_testing unix)
4+
(locks append.txt)
5+
(modes js wasm))
6+
7+
(tests
8+
(names channel_of cmdline_prog reflector rename truncate uexit utimes)
119
(libraries ocaml_testing unix)
1210
(modes js wasm))
1311

0 commit comments

Comments
 (0)