mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-20 11:35:19 +00:00
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:
parent
a243316ac6
commit
1de354ccc5
7
tests/nodedevschemadata/scsi_target0_0_0.xml
Normal file
7
tests/nodedevschemadata/scsi_target0_0_0.xml
Normal 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>
|
@ -93,6 +93,7 @@ mymain(void)
|
|||||||
DO_TEST("pci_8086_0c0c_snd_hda_intel");
|
DO_TEST("pci_8086_0c0c_snd_hda_intel");
|
||||||
DO_TEST("pci_0000_00_02_0_header_type");
|
DO_TEST("pci_0000_00_02_0_header_type");
|
||||||
DO_TEST("pci_0000_00_1c_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;
|
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user