summaryrefslogtreecommitdiff
path: root/tests/nodedevxml2xmltest.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2017-02-15 01:04:10 +0400
committerMichal Privoznik <mprivozn@redhat.com>2017-02-17 15:47:58 +0100
commit0809508ed2da6d13cba8a2e1c54602f2652b4c94 (patch)
tree05e637ccb1cdf70eab6d93d75cf0824add649e01 /tests/nodedevxml2xmltest.c
parent7f6443530723919e1acfb6460a21e52ff17b456b (diff)
downloadlibvirt-0809508ed2da6d13cba8a2e1c54602f2652b4c94.tar.gz
nodedev: add <devnode> paths
Add new <devnode> top-level <device> element, that list the associated /dev files. Distinguish the main /dev name from symlinks with a 'type' attribute of value 'dev' or 'symlink'. Update a test to check XML schema, and actually add it to the test list since it was missing. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'tests/nodedevxml2xmltest.c')
-rw-r--r--tests/nodedevxml2xmltest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/nodedevxml2xmltest.c b/tests/nodedevxml2xmltest.c
index eb32dd31d2..ec96943cb1 100644
--- a/tests/nodedevxml2xmltest.c
+++ b/tests/nodedevxml2xmltest.c
@@ -87,6 +87,7 @@ mymain(void)
DO_TEST("pci_8086_27c5_scsi_host_scsi_host");
DO_TEST("pci_8086_27c5_scsi_host");
DO_TEST("storage_serial_SATA_HTS721010G9SA00_MPCZ12Y0GNGWSE");
+ DO_TEST("storage_serial_3600c0ff000d7a2a5d463ff4902000000");
DO_TEST("usb_device_1d6b_1_0000_00_1d_0_if0");
DO_TEST("usb_device_1d6b_1_0000_00_1d_0");
DO_TEST("pci_8086_4238_pcie_wireless");