[PATCH 09/24] virschematest: Improve detection of 'invalid' XMLs

Ján Tomko jtomko at redhat.com
Mon Aug 21 12:51:50 UTC 2023


On a Thursday in 2023, Peter Krempa wrote:
>The output files from 'qemuxml2argvtest' may have the real capability
>suffix e.g. 'pci-rom-disabled-invalid.x86_64-latest.xml' which would not
>be detected as being invalid and thus causing a test failure.
>
>Change the logic to find '-invalid.' so that we can properly use
>'virschematest' with test cases using real capabilities.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> tests/virschematest.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230821/6897a2d0/attachment.sig>


More information about the libvir-list mailing list