We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98a46b8 commit ca896f6Copy full SHA for ca896f6
src/sys/stm_tests.ml
@@ -327,6 +327,8 @@ struct
327
| Error (Sys_error s) ->
328
(* temporary workaround for dir-to-empty-target-dir https://github.com/ocaml/ocaml/issues/12073 *)
329
(s = "Permission denied" && Sys.win32 && path_is_a_dir fs old_path && path_is_an_empty_dir fs new_path) ||
330
+ (* temporary workaround for identity regression renaming under MingW *)
331
+ (s = "No such file or directory" && Sys.win32 && old_path = new_path && path_is_an_empty_dir fs new_path) ||
332
(s = "No such file or directory" &&
333
not (Model.mem fs old_path) || List.exists (fun pref -> not (path_is_a_dir fs pref)) (path_prefixes new_path)) ||
334
(s = "Invalid argument" && is_true_prefix old_path new_path) ||
0 commit comments