]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virbitmaptest: Turn 'TEST_MAP' macro into a helper function
authorPeter Krempa <pkrempa@redhat.com>
Mon, 5 Oct 2020 10:06:14 +0000 (12:06 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 5 Oct 2020 13:38:47 +0000 (15:38 +0200)
commit0128fe14113aa815fd68d0da824dff7aa1b19f66
tree188fc69ac6af7e49c7cdb83277d62bc8eba7ee5c
parent7a1bc02be90ad42deef39b5ce1351c7e4f30f85f
virbitmaptest: Turn 'TEST_MAP' macro into a helper function

The function will also be reusable in other places of the code by making
the size check optional. For now only test12* is refactored since it
used TEST_MAP directly.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/virbitmaptest.c