[PATCH 10/80] qemuxml2xmltest: Modernize all test cases using QEMU_CAPS_QCOW2_LUKS

Pavel Hrdina phrdina at redhat.com
Wed Aug 3 08:36:02 UTC 2022


On Tue, Jul 26, 2022 at 04:36:48PM +0200, Peter Krempa wrote:
> Modernize 'disk-nvme', 'encrypted-disk-usage', 'encrypted-disk', and
> 'user-aliases' cases to use DO_TEST_CAPS_LATEST.
> 
> This will remove all uses of QEMU_CAPS_QCOW2_LUKS from the test suite.
> 
> Since the output files are done via symlinks to input files, the input
> files need to be modernized with few auto-added XML bits.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  tests/qemuxml2argvdata/disk-nvme.xml              |  5 ++++-
>  tests/qemuxml2argvdata/encrypted-disk-usage.xml   |  5 ++++-
>  tests/qemuxml2argvdata/user-aliases.xml           |  5 +++--
>  ...{disk-nvme.xml => disk-nvme.x86_64-latest.xml} |  0
>  ...xml => encrypted-disk-usage.x86_64-latest.xml} |  0
>  ...-disk.xml => encrypted-disk.x86_64-latest.xml} |  5 ++++-
>  ...aliases.xml => user-aliases.x86_64-latest.xml} |  0
>  tests/qemuxml2xmltest.c                           | 15 ++++-----------
>  8 files changed, 19 insertions(+), 16 deletions(-)
>  rename tests/qemuxml2xmloutdata/{disk-nvme.xml => disk-nvme.x86_64-latest.xml} (100%)
>  rename tests/qemuxml2xmloutdata/{encrypted-disk-usage.xml => encrypted-disk-usage.x86_64-latest.xml} (100%)
>  rename tests/qemuxml2xmloutdata/{encrypted-disk.xml => encrypted-disk.x86_64-latest.xml} (89%)
>  rename tests/qemuxml2xmloutdata/{user-aliases.xml => user-aliases.x86_64-latest.xml} (100%)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220803/b0fb7a80/attachment.sig>


More information about the libvir-list mailing list