[SSSD] [PATCH] Make resolve and failover test work with CK_FORK=no

Stephen Gallagher sgallagh at redhat.com
Wed Feb 3 15:07:49 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/03/2010 07:51 AM, Sumit Bose wrote:
> Hi,
> 
> the resolver and failover unit test are using a leak checker which calls
> 'talloc_free(talloc_autofree_context());'. This is not recommended and
> makes the test fail it CK_FORK is set to 'no'. The attached patch
> introduces a global talloc context which should be used by the test
> instead of NULL for root of the memory hierarchy.
> 
> bye,
> Sumit
> 

Ack. Tests run successfully in both fork and nofork mode.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAktpkUUACgkQeiVVYja6o6NFGQCgrRJbvJIxGhc21yEhLYCLxCIm
DjQAnRI58H6c+vVpeRkwZyl7J4cyxAYl
=F0E9
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list