Re: The next couple of months

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Wed, 2 Dec 2009 12:52:00 -0800 (PST)

On Thu, 3 Dec 2009, Daniel Black wrote:
>> - br-dblack-codecoverage -- Daniel will have to comment on this, but I
>> would like to have some library test code coverage data so we can write a
>> few more tests to get as close to complete library coverage as possible
>
> now that I know how to do malloc failing tests I can't see any reason for
> 100%. Bits that we can't write test cases for probably aren't reachable.

Actually, you can simulate memory allocation failures in the library by
providing a replacement allocator function to dkim_init() that just
returns NULL instead of actually trying to do an allocation. That's
always been there; I just never thought to use it.
Received on Wed Dec 02 2009 - 20:52:25 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:32:30 PST