[V1,09/10] tests/vm2vm_virtio_user: Modify get_cbdma_ports_info
Commit Message
Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
tests/TestSuite_vm2vm_virtio_user.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -715,7 +715,7 @@ class TestVM2VMVirtioUser(TestCase):
out = self.dut.send_expect('./usertools/dpdk-devbind.py --status-dev misc', '# ', 30)
device_info = out.split('\n')
for device in device_info:
- pci_info = re.search('\s*(0000:\d*:\d*.\d*)', device)
+ pci_info = re.search('\s*(0000:\S*:\d*.\d*)', device)
if pci_info is not None:
dev_info = pci_info.group(1)
# the numa id of ioat dev, only add the device which