tests: nodedevxml2xml: add test for SCSI target

Let's add a test for SCSI target nodedev devices.

Signed-off-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
This commit is contained in:
Bjoern Walk 2016-03-21 15:49:30 +01:00 committed by Cole Robinson
parent a243316ac6
commit 1de354ccc5
2 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -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;
}