Re: [PATCH] tests: More unit tests for internal hash APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]