]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virbitmaptest: Refactor checks in 'test6'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 5 Oct 2020 10:10:42 +0000 (12:10 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 5 Oct 2020 13:38:47 +0000 (15:38 +0200)
commit297fc39a2dbe744701f9505fdd04f4bca95a3124
treef32019bbc489fa8b995dae920b41b82134ab3cb9
parent0128fe14113aa815fd68d0da824dff7aa1b19f66
virbitmaptest: Refactor checks in 'test6'

The 'checkBitmap' helper uses 'virBitmapFormat' internally and also
reports better errors. Use it instead of the open-coded checks.

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