Re: [PATCH] schema: fix idmap validation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/10/2014 10:48 AM, Daniel P. Berrange wrote:
> On Fri, Jan 10, 2014 at 10:42:35AM -0700, Eric Blake wrote:
>> When idmap was added to LXC, we forgot to cover it in the testsuite.
>> The schema was missing an <element> layer, and as a result,
>> virt-xml-validate was failing on valid dumpxml output.
>>
>> Reported by Eduard - Gabriel Munteanu on IRC.
>>
>> * docs/schemas/domaincommon.rng (idmap): Include <idmap> element,
>> and support interleaves.
>> * tests/lxcxml2xmldata/lxc-idmap.xml: New file.
>> * tests/lxcxml2xmltest.c (mymain): Test it.
>>
>> Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
>> ---
>>
>> Eduard, please confirm I spelled your name correctly.

Confirmed on IRC.

>>
>>  docs/schemas/domaincommon.rng      | 58 +++++++++++++++++++++-----------------
>>  tests/lxcxml2xmldata/lxc-idmap.xml | 38 +++++++++++++++++++++++++
>>  tests/lxcxml2xmltest.c             |  1 +
>>  3 files changed, 71 insertions(+), 26 deletions(-)
>>  create mode 100644 tests/lxcxml2xmldata/lxc-idmap.xml
> 
> ACK

Pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]