Let's add a test for SCSI target nodedev devices. Signed-off-by: Bjoern Walk <bwalk@xxxxxxxxxxxxxxxxxx> --- tests/nodedevschemadata/scsi_target0_0_0.xml | 7 +++++++ tests/nodedevxml2xmltest.c | 1 + 2 files changed, 8 insertions(+) create mode 100644 tests/nodedevschemadata/scsi_target0_0_0.xml diff --git a/tests/nodedevschemadata/scsi_target0_0_0.xml b/tests/nodedevschemadata/scsi_target0_0_0.xml new file mode 100644 index 0000000..b83c96d --- /dev/null +++ b/tests/nodedevschemadata/scsi_target0_0_0.xml @@ -0,0 +1,7 @@ +<device> + <name>scsi_target0_0_0</name> + <parent>scsi_host0</parent> + <capability type='scsi_target'> + <target>target0:0:0</target> + </capability> +</device> diff --git a/tests/nodedevxml2xmltest.c b/tests/nodedevxml2xmltest.c index f519bce..246cec7 100644 --- a/tests/nodedevxml2xmltest.c +++ b/tests/nodedevxml2xmltest.c @@ -93,6 +93,7 @@ mymain(void) DO_TEST("pci_8086_0c0c_snd_hda_intel"); DO_TEST("pci_0000_00_02_0_header_type"); DO_TEST("pci_0000_00_1c_0_header_type"); + DO_TEST("scsi_target0_0_0"); return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; } -- 2.6.5 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list