summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib-unix/win-socketpair/test.ml
diff options
context:
space:
mode:
authorNick Barnes <nick@tarides.com>2023-05-02 21:16:12 +0100
committerNick Barnes <nick@tarides.com>2023-05-02 21:16:12 +0100
commitd3a5c923939a1fc03cc14c005d61210d8c3bd546 (patch)
tree5459de2b7b6cbaa1167d18224f1ea5d256e2f3f7 /testsuite/tests/lib-unix/win-socketpair/test.ml
parentad111da274b58d82249f92b8c79ee252bf25525b (diff)
parent23dab79a4e42856aa33816b9c79c3d4d79959cb9 (diff)
downloadocaml-d3a5c923939a1fc03cc14c005d61210d8c3bd546.tar.gz
Merge branch 'trunk' into nick-get-copy
Diffstat (limited to 'testsuite/tests/lib-unix/win-socketpair/test.ml')
-rw-r--r--testsuite/tests/lib-unix/win-socketpair/test.ml29
1 files changed, 15 insertions, 14 deletions
diff --git a/testsuite/tests/lib-unix/win-socketpair/test.ml b/testsuite/tests/lib-unix/win-socketpair/test.ml
index 8ea703e0c1..cecd4a54c9 100644
--- a/testsuite/tests/lib-unix/win-socketpair/test.ml
+++ b/testsuite/tests/lib-unix/win-socketpair/test.ml
@@ -1,18 +1,19 @@
(* TEST
-
-* libwin32unix
- script = "sh ${test_source_directory}/has-afunix.sh"
-** hassysthreads
- include systhreads
-*** script
-**** bytecode
-output = "${test_build_directory}/program-output"
-stdout = "${output}"
-**** native
-output = "${test_build_directory}/program-output"
-stdout = "${output}"
-
- *)
+ script = "sh ${test_source_directory}/has-afunix.sh";
+ libwin32unix;
+ include systhreads;
+ hassysthreads;
+ script;
+ {
+ output = "${test_build_directory}/program-output";
+ stdout = "${output}";
+ bytecode;
+ }{
+ output = "${test_build_directory}/program-output";
+ stdout = "${output}";
+ native;
+ }
+*)
let peer id fd =
let msg = Bytes.of_string (Printf.sprintf "%d" id) in