On Mon, Feb 23, 2009 at 11:28:40AM +0000, Mark McLoughlin wrote:
Add a test to check node device XML parsing by first parsing
the XML, then re-formatting as XML and finally comparing the
resulting XML to the original XML.
Signed-off-by: Mark McLoughlin <markmc(a)redhat.com>
---
tests/.cvsignore | 1 +
tests/.gitignore | 1 +
tests/Makefile.am | 9 ++
tests/nodedevschemadata/DVD_GCC_4247N.xml | 2 -
tests/nodedevschemadata/computer.xml | 2 -
tests/nodedevschemadata/net_00_13_02_b9_f9_d3.xml | 2 -
tests/nodedevschemadata/net_00_15_58_2f_e9_55.xml | 2 -
tests/nodedevschemadata/pci_1002_71c4.xml | 2 -
.../nodedevschemadata/pci_8086_27c5_scsi_host.xml | 2 -
.../pci_8086_27c5_scsi_host_0.xml | 2 -
.../pci_8086_27c5_scsi_host_scsi_device_lun0.xml | 2 -
.../pci_8086_27c5_scsi_host_scsi_host.xml | 2 -
..._serial_SATA_HTS721010G9SA00_MPCZ12Y0GNGWSE.xml | 2 -
.../usb_device_1d6b_1_0000_00_1d_0.xml | 2 -
.../usb_device_1d6b_1_0000_00_1d_0_if0.xml | 2 -
tests/nodedevxml2xmltest.c | 97 ++++++++++++++++++++
16 files changed, 108 insertions(+), 24 deletions(-)
create mode 100644 tests/nodedevxml2xmltest.c
ACK
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://ovirt.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|