]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: hash: Prepare for replacement of virHashCreate
authorPeter Krempa <pkrempa@redhat.com>
Wed, 21 Oct 2020 07:41:50 +0000 (09:41 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 22 Oct 2020 13:02:46 +0000 (15:02 +0200)
commitafc41391364ea737813b85a7556ce4c293ee67f8
tree1befc656e200f4bce155b0282917a16ed07b5e57
parente12324d2af4f587e575b45b611a435f968892d0c
tests: hash: Prepare for replacement of virHashCreate

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@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
tests/virhashtest.c