]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2(argv|xml): Modernize 'discard'/'detect-zero' tests
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 May 2020 16:53:31 +0000 (18:53 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 May 2020 04:54:59 +0000 (06:54 +0200)
commit8ddd7d840fa825cb1b1e18f689790f7b4c1441f3
treea97e38765ddcc1ce7697f8e97e391364acd39d72
parent1071bda21f2e8dd9c47d09928b286cce98586e46
qemuxml2(argv|xml): Modernize 'discard'/'detect-zero' tests

Switch to DO_TEST_CAPS_LATEST for all of them and also add pre-blockdev
case for 'disk-discard' as we had it before.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemuxml2argvdata/disk-detect-zeroes.x86_64-2.12.0.args
tests/qemuxml2argvdata/disk-detect-zeroes.xml
tests/qemuxml2argvdata/disk-discard.x86_64-4.1.0.args [moved from tests/qemuxml2argvdata/disk-discard.args with 59% similarity]
tests/qemuxml2argvdata/disk-discard.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/disk-detect-zeroes.x86_64-latest.xml [moved from tests/qemuxml2xmloutdata/disk-detect-zeroes.xml with 100% similarity]
tests/qemuxml2xmloutdata/disk-discard.x86_64-latest.xml [moved from tests/qemuxml2xmloutdata/disk-discard.xml with 87% similarity]
tests/qemuxml2xmltest.c