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

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

 



On Tue, Apr 26, 2011 at 10:11:27 -0600, Eric Blake wrote:
> 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).
> > 
> > All tests pass both before and after the "Simplify hash implementation".
> > ---
> >  src/util/hash.c  |   18 +++
> >  src/util/hash.h  |    1 +
> >  tests/hashdata.h |  237 +++++++++++++++++++++++++++++++++++-
> >  tests/hashtest.c |  361 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >  4 files changed, 615 insertions(+), 2 deletions(-)
> 
> Overall, this looks like a good patch; the fact that it passes 'make
> check' speaks highly, and it is some good additional coverage.
> 
> ACK with nits fixed.

Thanks, I fixed the nits (inc. seeding the pseudo-random number generator) and
pushed.

Jirka

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