diff mbox series

[V1,06/10] tests/vhost_virtio_pmd_interrupt: Modify get_cbdma_ports_info

Message ID 20210729172404.90883-7-linglix.chen@intel.com (mailing list archive)
State Changes Requested
Headers show
Series fix script issues | expand

Commit Message

Chen, LingliX July 29, 2021, 5:24 p.m. UTC
Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 tests/TestSuite_vhost_virtio_pmd_interrupt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
index 675a15ee..e2859f8e 100644
--- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
+++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
@@ -276,7 +276,7 @@  class TestVhostVirtioPmdInterrupt(TestCase):
         self.verify(self.drivername == 'igb_uio',
                     "CBDMA test case only use igb_uio driver, need config drivername=igb_uio in execution.cfg")
         out = self.dut.send_expect('./usertools/dpdk-devbind.py --status-dev misc', '# ', 30)
-        cbdma_dev_infos = re.findall('\s*(0000:\d+:\d+.\d+)', out)
+        cbdma_dev_infos = re.findall('\s*(0000:\S+:\d+.\d+)', out)
         self.verify(len(cbdma_dev_infos) >= cbdma_num, 'There no enough cbdma device to run this suite')
 
         used_cbdma = cbdma_dev_infos[0:cbdma_num]