[libvirt] [PATCH] tests: More unit tests for internal hash APIs
Eric Blake
eblake at redhat.com
Wed Apr 27 16:45:54 UTC 2011
On 04/19/2011 07:22 AM, Jiri Denemark wrote:
> This adds several tests for remaining hash APIs (custom
> hasher/comparator functions are not covered yet, though).
> +++ b/tests/hashtest.c
Oops, sorry for not noticing sooner, but this again breaks 32-bit builds:
> + if (virTestGetVerbose()) {
> + testError("\nvirHashForEach didn't go through all entries,"
> + " %d != %lu\n",
> + count, ARRAY_CARDINALITY(uuids));
I'm committing the obvious %zu fixup, just like commit 1fc288e.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110427/198c55ed/attachment-0001.sig>
More information about the libvir-list
mailing list