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(a)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(a)redhat.com>