[Pkg-libvirt-commits] [SCM] Libguestfs Debian packaging branch, experimental, updated. debian/1%1.21.40-1

Richard W.M. Jones rjones at redhat.com
Sat Jun 1 11:04:26 UTC 2013


The following commit has been merged in the experimental branch:
commit dc3b783b51a83df1a986c1456b01a1a38dba9d96
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Apr 30 15:41:08 2013 +0100

    ocaml: Set close-on-exit flag to true in this test so handle is cleaned up.
    
    Otherwise the valgrind test fails since the handle resources
    are leaked.

diff --git a/ocaml/t/guestfs_030_create_flags.ml b/ocaml/t/guestfs_030_create_flags.ml
index 9c1d1c1..464c06c 100644
--- a/ocaml/t/guestfs_030_create_flags.ml
+++ b/ocaml/t/guestfs_030_create_flags.ml
@@ -17,7 +17,7 @@
  *)
 
 let () =
-  let g = new Guestfs.guestfs ~environment:false ~close_on_exit:false () in
+  let g = new Guestfs.guestfs ~environment:false ~close_on_exit:true () in
   g#parse_environment ()
 
 let () = Gc.compact ()

-- 
Libguestfs Debian packaging



More information about the Pkg-libvirt-commits mailing list