]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: qemublock: Add cases for creating image overlays on top of disks with <slice>
authorPeter Krempa <pkrempa@redhat.com>
Wed, 12 Feb 2020 16:26:18 +0000 (17:26 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 14 Feb 2020 15:32:21 +0000 (16:32 +0100)
commit9b804ef5efcd3b1e91bbf75f4e94a35630c062c5
treea3bb26b4046265639c998e4aa62234a28ef8058f
parent73ca20146700c82e257b02ff8296e42a92629c58
tests: qemublock: Add cases for creating image overlays on top of disks with <slice>

Add a set of test data to see whether the backing store strings are
formatted reasonably. Note that we don't support direct creation of such
images so those tests are not enabled.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemublocktest.c
tests/qemublocktestdata/imagecreate/qcow2-backing-qcow2-slice.json [new file with mode: 0644]
tests/qemublocktestdata/imagecreate/qcow2-backing-qcow2-slice.xml [new symlink]
tests/qemublocktestdata/imagecreate/qcow2-backing-raw-slice.json [new file with mode: 0644]
tests/qemublocktestdata/imagecreate/qcow2-backing-raw-slice.xml [new symlink]
tests/qemublocktestdata/imagecreate/qcow2-slice.xml [new file with mode: 0644]
tests/qemublocktestdata/imagecreate/raw-slice.xml [new file with mode: 0644]