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

Stephen Gallagher sgallagh at redhat.com
Wed Feb 3 15:36:42 UTC 2010


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

On 02/03/2010 10:07 AM, Stephen Gallagher wrote:
> 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.
> 

Pushed to master.

- -- 
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/

iEYEARECAAYFAktpmAkACgkQeiVVYja6o6OjRgCgmc8G2hBXwft0LxRrp5DBYjfe
XNUAoJ0xza4Qy901JQ8mA3Smq5pfLET7
=7lsr
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list