]> git.ipfire.org Git - thirdparty/libvirt.git/commit
testCompareXMLToArgvValidateSchema: Improve and fix helper for testing everything
authorPeter Krempa <pkrempa@redhat.com>
Fri, 19 Feb 2021 15:25:29 +0000 (16:25 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Sat, 20 Feb 2021 12:27:44 +0000 (13:27 +0100)
commitf154e6ddd57a92742e6201a01de996d58f66ba32
tree60a0832fd9540b25781103910d3fceea912aa564
parent9995a1af45ef482884e0f76ed70163681562aac1
testCompareXMLToArgvValidateSchema: Improve and fix helper for testing everything

The schema validator has a comment which allows checking all xml2argv
input files for schema validity by forcing the latest schema onto files
which don't have any schema. Fix it so that it works properly with the
caching introduced in previous commit.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
tests/qemuxml2argvtest.c