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>
Tue, 29 Nov 2011 17:13:45 +0000 (17:13 +0000)
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 ()