From 5d0546c072964339ce6e562a9ec9ce8c12be7a43 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 29 Nov 2011 17:13:45 +0000 Subject: [PATCH] ocaml: Load test should call Gc.compact to flag memory errors. (cherry picked from commit 082a55f76cd61f3590976f6b095552ea65259ced) --- ocaml/t/guestfs_005_load.ml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ocaml/t/guestfs_005_load.ml b/ocaml/t/guestfs_005_load.ml index de67091..ace873f 100644 --- a/ocaml/t/guestfs_005_load.ml +++ b/ocaml/t/guestfs_005_load.ml @@ -22,3 +22,5 @@ let _ = Guestfs.create let _ = let g = new Guestfs.guestfs () in g#get_verbose () + +let () = Gc.compact () -- 1.8.3.1