[PATCH 08/15] tests: hash: Prepare for replacement of virHashCreate

Pavel Hrdina phrdina at redhat.com
Thu Oct 22 11:34:08 UTC 2020


On Thu, Oct 22, 2020 at 11:34:59AM +0200, Peter Krempa wrote:
> Most callers pass a random number. We have virHashNew which doesn't give
> the callers the option to configure the table. Since we are going to
> switch to virHashNew replace it in tests and remove multiple instances
> of the 'testHashGrow' case as it doesn't make sense with the new
> semantics.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  tests/virhashtest.c | 28 +++++++++++-----------------
>  1 file changed, 11 insertions(+), 17 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201022/a01b9c90/attachment-0001.sig>


More information about the libvir-list mailing list