From 27998ecb2feab9460d4b305e3026c7552705f53e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 27 Jun 2023 16:20:29 +0100 Subject: [PATCH] Revert "ocaml/t/guestfs_065_implicit_close.ml: Skip this test on OCaml 5" This reverts commit 81093d53599691e9eebb1c3ab2e8896995bb25f2. --- ocaml/t/guestfs_065_implicit_close.ml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ocaml/t/guestfs_065_implicit_close.ml b/ocaml/t/guestfs_065_implicit_close.ml index 04e511dd8..f2dfecbd5 100644 --- a/ocaml/t/guestfs_065_implicit_close.ml +++ b/ocaml/t/guestfs_065_implicit_close.ml @@ -16,14 +16,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *) -let () = - (* In OCaml 5, Gc.full_major does not actually collect the handle - * for unknown reasons. Skip the test until we can resolve this. - * https://discuss.ocaml.org/t/ocaml-5-forcing-objects-to-be-collected-and-finalized/12492/2 - *) - if Sys.ocaml_version >= "5" then - exit 77 - let close_invoked = ref 0 let close _ _ _ _ =