ocaml: Load test should call Gc.compact to flag memory errors.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 29 Nov 2011 17:13:45 +0000 (17:13 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 2 Dec 2011 08:34:05 +0000 (08:34 +0000)
(cherry picked from commit 082a55f76cd61f3590976f6b095552ea65259ced)

ocaml/t/guestfs_005_load.ml

index de67091..ace873f 100644 (file)
@@ -22,3 +22,5 @@ let _ = Guestfs.create
 let _ =
   let g = new Guestfs.guestfs () in
   g#get_verbose ()
+
+let () = Gc.compact ()